]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: fsl_micfil: do not define SHIFT/MASK for single bits
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 14 Apr 2022 16:22:32 +0000 (18:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:50:53 +0000 (19:50 +0100)
commit6869a23070c9f13c4d11ebca2a47786e1cee8989
tree5813797f3c40bee06009d4c5eebb3b5f8edfb315
parenta20141b2a4f8a3fa6f61e3ef81f2a66be6087070
ASoC: fsl_micfil: do not define SHIFT/MASK for single bits

[ Upstream commit bd2cffd10d79eb9280cb8f5b7cb441f206c1e6ac ]

No need to have defines for the mask of single bits. Also shift is
unused. Drop all these unnecessary defines.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220414162249.3934543-5-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: 06df673d2023 ("ASoC: fsl_micfil: fix regmap_write_bits usage")
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl_micfil.c
sound/soc/fsl/fsl_micfil.h