ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values
authorRichard Weinberger <richard@nod.at>
Sun, 30 May 2021 20:34:46 +0000 (22:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Jun 2021 12:42:48 +0000 (14:42 +0200)
commite03c8b35161b2e8b30aeb50fa659fc3cfeee419c
tree854e014292859103327ed452bbb970abc7456e12
parent813ff24f1d08cb4b4605fe222bb104a8dbdfd7f5
ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values

[ Upstream commit 8bef925e37bdc9b6554b85eda16ced9a8e3c135f ]

TAS2562_TDM_CFG0_SAMPRATE_MASK starts at bit 1, not 0.
So all values need to be left shifted by 1.

Signed-off-by: Richard Weinberger <richard@nod.at>
Link: https://lore.kernel.org/r/20210530203446.19022-1-richard@nod.at
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/tas2562.h