]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2562: Fixed incorrect amp_level setting.
authorJonghwan Choi <charlie.jh@kakaocorp.com>
Thu, 19 Mar 2020 14:00:44 +0000 (23:00 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 24 Mar 2020 16:36:52 +0000 (16:36 +0000)
commit1a0e5fa935a71ee5f63eeb2bea4b721e31556e65
tree6481ea5e018ae7a4f32a3bcdadf4d516faa033ee
parent701449096ca5a520ca6e15a531cf8fed8586aa07
ASoC: tas2562: Fixed incorrect amp_level setting.

According to the tas2562 datasheet,the bits[5:1] represents the amp_level value.
So to set the amp_level value correctly,the shift value should be set to 1.

Signed-off-by: Jonghwan Choi <charlie.jh@kakaocorp.com>
Acked-by: Dan Murphy <dmurphy@ti.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200319140043.GA6688@jhbirdchoi-MS-7B79
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2562.c