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:27:16 +0000 (08:27 +0100)
commitd6935084e4444ac52b98a3d8d969d6b0e4530c03
tree2cd540855f73d398d197d131edad4c87b05fa30a
parentac07316b2d57471686d0de932a1a66ae34c154ac
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