summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/imx233-codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/imx233-codec.c')
-rw-r--r--firmware/drivers/audio/imx233-codec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/imx233-codec.c b/firmware/drivers/audio/imx233-codec.c
index 4afdfc6f8b..7406a8d076 100644
--- a/firmware/drivers/audio/imx233-codec.c
+++ b/firmware/drivers/audio/imx233-codec.c
@@ -73,6 +73,8 @@ void audiohw_disable_recording(void)
73 73
74void audiohw_set_recvol(int left, int right, int type) 74void audiohw_set_recvol(int left, int right, int type)
75{ 75{
76 left /= 5;
77 right /= 5;
76 if(type == AUDIO_GAIN_LINEIN) 78 if(type == AUDIO_GAIN_LINEIN)
77 { 79 {
78 imx233_audioin_set_vol(false, left, AUDIOIN_SELECT_LINE1); 80 imx233_audioin_set_vol(false, left, AUDIOIN_SELECT_LINE1);