summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/wm8975.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/wm8975.c')
-rw-r--r--firmware/drivers/audio/wm8975.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c
index 4905445aea..931dae9c6f 100644
--- a/firmware/drivers/audio/wm8975.c
+++ b/firmware/drivers/audio/wm8975.c
@@ -79,7 +79,7 @@ static int vol_tenthdb2hw(int db)
79 /* 0110000 == -73dB (0x30 */ 79 /* 0110000 == -73dB (0x30 */
80 /* 0101111..0000000 == mute (0x2f) */ 80 /* 0101111..0000000 == mute (0x2f) */
81 81
82 if (db < VOLUME_MIN) { 82 if (db <= -740) {
83 return 0x0; 83 return 0x0;
84 } else { 84 } else {
85 return((db/10)+73+0x30); 85 return((db/10)+73+0x30);