imx233: fix recording volume (tenth-dB -> half-dB)

Change-Id: I6960d3f4bd506713ffb139750fbe581ef66af947
This commit is contained in:
Amaury Pouly 2013-07-13 02:38:55 +02:00
parent 960788343a
commit 352b3876e6

View file

@ -73,6 +73,8 @@ void audiohw_disable_recording(void)
void audiohw_set_recvol(int left, int right, int type)
{
left /= 5;
right /= 5;
if(type == AUDIO_GAIN_LINEIN)
{
imx233_audioin_set_vol(false, left, AUDIOIN_SELECT_LINE1);