summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/tlv320.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/tlv320.c')
-rw-r--r--firmware/drivers/audio/tlv320.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/tlv320.c b/firmware/drivers/audio/tlv320.c
index 6118734d37..9fa676f3d5 100644
--- a/firmware/drivers/audio/tlv320.c
+++ b/firmware/drivers/audio/tlv320.c
@@ -40,7 +40,7 @@ static int vol_tenthdb2hw(int db)
40 /* 0110000 == -73dB (0x30) */ 40 /* 0110000 == -73dB (0x30) */
41 /* 0101111 == mute (0x2f) */ 41 /* 0101111 == mute (0x2f) */
42 42
43 if (db < VOLUME_MIN) { 43 if (db <= -740) {
44 return 0x2f; 44 return 0x2f;
45 } else { 45 } else {
46 return((db/10)+73+0x30); 46 return((db/10)+73+0x30);