summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/as3514.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-04-15 12:39:04 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-04-15 12:39:04 -0400
commit0971f576341cf38c04d2d9735f0a385e62974108 (patch)
tree0cf2d7c7ffd3915217b26927e76f2073cdd795ae /firmware/drivers/audio/as3514.c
parent0c7b7873984e04941c9f21fa272638018fdb9a16 (diff)
Hopefully knock out most of the red and yellow from 0c7b787.
Change-Id: Ib8dd0d011b11ee3eded3025308f19ddb5d151b59
Diffstat (limited to 'firmware/drivers/audio/as3514.c')
-rw-r--r--firmware/drivers/audio/as3514.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index b9118f9fcf..e1c7f6575e 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -240,7 +240,7 @@ void audiohw_postinit(void)
audiohw_mute(false);
}
-void audiohw_set_master_vol(int vol_l, int vol_r)
+void audiohw_set_volume(int vol_l, int vol_r)
{
unsigned int hph_r, hph_l;
unsigned int mix_l, mix_r;
@@ -298,7 +298,7 @@ void audiohw_set_lineout_volume(int vol_l, int vol_r)
{
#ifdef HAVE_AS3543
/* line out volume is set in the same registers */
- audiohw_set_master_volume(vol_l, vol_r);
+ audiohw_set_volume(vol_l, vol_r);
#else
vol_l = vol_tenthdb2hw(vol_l);
vol_r = vol_tenthdb2hw(vol_r);