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)
committerMark Brown <broonie@kernel.org>
Thu, 5 Jan 2023 16:06:52 +0000 (16:06 +0000)
commitcdfa92eb90f5770b26a79824ef213ebdbbd988b1
tree1de0f01127167bfd8f033c39573089c80ae1b97f
parent000bca8d706d1bf7cca01af75787247c5a2fdedf
ASoC: fsl_micfil: Correct the number of steps on SX controls

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>
sound/soc/fsl/fsl_micfil.c