summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/wm8758.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c
index 893b6e7c10..f3310f3ed6 100644
--- a/firmware/drivers/wm8758.c
+++ b/firmware/drivers/wm8758.c
@@ -145,8 +145,8 @@ void wmcodec_enable_output(bool enable)
145int wmcodec_set_master_vol(int vol_l, int vol_r) 145int wmcodec_set_master_vol(int vol_l, int vol_r)
146{ 146{
147 /* OUT1 */ 147 /* OUT1 */
148 wm8758_write(LOUT1VOL, vol_l); 148 wm8758_write(LOUT1VOL, 0x080 | vol_l);
149 wm8758_write(ROUT1VOL, 0x100 | vol_r); 149 wm8758_write(ROUT1VOL, 0x180 | vol_r);
150 150
151 return 0; 151 return 0;
152} 152}