]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 11:16:40 +0000 (13:16 +0200)
commit14b0581fb9ef65263f3c93ba14df3807e2d336ef
tree40d09749d305fd306fe00b60ee5cb253051c4e11
parent0cc7f888024376857715eef59509028aa4aa98a1
ASoC: tas2562: Fixed incorrect amp_level setting.

commit eedf8a126629bf9db8ad3a2a5dc9dc1798fb2302 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/tas2562.c