diff options
Diffstat (limited to 'firmware/drivers/wm8975.c')
-rw-r--r-- | firmware/drivers/wm8975.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/wm8975.c b/firmware/drivers/wm8975.c index 51c12f1505..64a123b883 100644 --- a/firmware/drivers/wm8975.c +++ b/firmware/drivers/wm8975.c | |||
@@ -176,6 +176,11 @@ int wmcodec_set_master_vol(int vol_l, int vol_r) | |||
176 | wm8975_write(LOUT1VOL, vol_l); | 176 | wm8975_write(LOUT1VOL, vol_l); |
177 | wm8975_write(ROUT1VOL, 0x100 | vol_r); | 177 | wm8975_write(ROUT1VOL, 0x100 | vol_r); |
178 | 178 | ||
179 | return 0; | ||
180 | } | ||
181 | |||
182 | int wmcodec_set_lineout_vol(int vol_l, int vol_r) | ||
183 | { | ||
179 | /* OUT2 */ | 184 | /* OUT2 */ |
180 | wm8975_write(LOUT2VOL, vol_l); | 185 | wm8975_write(LOUT2VOL, vol_l); |
181 | wm8975_write(ROUT2VOL, 0x100 | vol_r); | 186 | wm8975_write(ROUT2VOL, 0x100 | vol_r); |