mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
ASoC: tas2562 digital volume
According to CTO-Audio colleagues suggestion, former stereo products, such as Lake, Doha, volume ramp only takes effect on the top speaker, the bottom one doesnt need it. In order to align with former products, they asked me change SofiaRow, left channel is the top one. Change-Id: I83c16d2b5e3ce2c2c59f6383d892e429873fa90e Signed-off-by: zhouwl <zhouwl@lenovo.com> Reviewed-on: https://gerrit.mot.com/1463746 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Hujun Liao <liaohj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
5bcc95b1d9
commit
af55ab1653
1 changed files with 1 additions and 1 deletions
|
|
@ -682,7 +682,7 @@ static int tas2562_set_digital_volume(struct snd_kcontrol *pKcontrol,
|
|||
p_tas2562->spk_digital_vol = p_u_control->value.integer.value[0];
|
||||
|
||||
vol += p_tas2562->spk_digital_vol * 4;
|
||||
ret = p_tas2562->bulk_write(p_tas2562, channel_both, TAS2562_DVC_REG, vol, 4);
|
||||
ret = p_tas2562->bulk_write(p_tas2562, channel_left, TAS2562_DVC_REG, vol, 4);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue