summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/rk27xx_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/rk27xx_codec.c')
-rw-r--r--firmware/drivers/audio/rk27xx_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/rk27xx_codec.c b/firmware/drivers/audio/rk27xx_codec.c
index 8f294ba9f3..2b0f2dbb22 100644
--- a/firmware/drivers/audio/rk27xx_codec.c
+++ b/firmware/drivers/audio/rk27xx_codec.c
@@ -58,7 +58,7 @@ static int vol_tenthdb2hw(int tdb)
58 * depending on gain region. 58 * depending on gain region.
59 */ 59 */
60 60
61 if (tdb < VOLUME_MIN) 61 if (tdb <= -340)
62 return 32; 62 return 32;
63 else if (tdb < -115) 63 else if (tdb < -115)
64 return -(((tdb + 115)/20) - 20); /* 2.0 dB steps */ 64 return -(((tdb + 115)/20) - 20); /* 2.0 dB steps */