]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 6 Feb 2023 06:52:41 +0000 (07:52 +0100)
commita46d13060b81d99efa28d8c3a8ce73b882901b67
treeeb1e34ee38779b32ba0941ccd6be4137e4102434
parentd904939eac4136932484f0cfcc9edea0d7f8c7a0
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