summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/adau1781-spi.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2021-08-03 17:08:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-18 08:56:58 +0200
commitcd36a36ea4ea0ab5134fc28effa20a4290290317 (patch)
tree9db1932ec1e6c81794a5f8bd10b605b688a8e6e6 /sound/soc/codecs/adau1781-spi.c
parenteb789cc9179f193c900fd00bbc212c4ebb922fec (diff)
ASoC: cs42l42: Remove duplicate control for WNF filter frequency
[ Upstream commit 8b353bbeae20e2214c9d9d88bcb2fda4ba145d83 ] The driver was defining two ALSA controls that both change the same register field for the wind noise filter corner frequency. The filter response has two corners, at different frequencies, and the duplicate controls most likely were an attempt to be able to set the value using either of the frequencies. However, having two controls changing the same field can be problematic and it is unnecessary. Both frequencies are related to each other so setting one implies exactly what the other would be. Removing a control affects user-side code, but there is currently no known use of the removed control so it would be best to remove it now before it becomes a problem. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Fixes: 2c394ca79604 ("ASoC: Add support for CS42L42 codec") Link: https://lore.kernel.org/r/20210803160834.9005-2-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc/codecs/adau1781-spi.c')
0 files changed, 0 insertions, 0 deletions