ASoC: fsl_micfil: Correct the number of steps on SX controls
authorChancel Liu <chancel.liu@nxp.com>
Wed, 4 Jan 2023 02:57:54 +0000 (10:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:29 +0000 (08:34 +0100)
commit7daafbd2d93417c826d9ca5e03aa12e493ba10ba
tree546abe69501fa3eb86c1421d82dfaa0cb77b9f72
parent0d792453213fb6437db9db09ecad8c1eff9ab7ca
ASoC: fsl_micfil: Correct the number of steps on SX controls

[ Upstream commit cdfa92eb90f5770b26a79824ef213ebdbbd988b1 ]

The parameter "max" of SOC_SINGLE_SX_TLV() means the number of steps
rather than maximum value. This patch corrects the minimum value to -8
and the number of steps to 15.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20230104025754.3019235-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl_micfil.c