diff options
Diffstat (limited to 'firmware/drivers/audio/as3514.c')
-rw-r--r-- | firmware/drivers/audio/as3514.c | 4 |
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) | |||
240 | audiohw_mute(false); | 240 | audiohw_mute(false); |
241 | } | 241 | } |
242 | 242 | ||
243 | void audiohw_set_master_vol(int vol_l, int vol_r) | 243 | void audiohw_set_volume(int vol_l, int vol_r) |
244 | { | 244 | { |
245 | unsigned int hph_r, hph_l; | 245 | unsigned int hph_r, hph_l; |
246 | unsigned int mix_l, mix_r; | 246 | unsigned int mix_l, mix_r; |
@@ -298,7 +298,7 @@ void audiohw_set_lineout_volume(int vol_l, int vol_r) | |||
298 | { | 298 | { |
299 | #ifdef HAVE_AS3543 | 299 | #ifdef HAVE_AS3543 |
300 | /* line out volume is set in the same registers */ | 300 | /* line out volume is set in the same registers */ |
301 | audiohw_set_master_volume(vol_l, vol_r); | 301 | audiohw_set_volume(vol_l, vol_r); |
302 | #else | 302 | #else |
303 | vol_l = vol_tenthdb2hw(vol_l); | 303 | vol_l = vol_tenthdb2hw(vol_l); |
304 | vol_r = vol_tenthdb2hw(vol_r); | 304 | vol_r = vol_tenthdb2hw(vol_r); |