summaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2021-10-13 13:17:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-27 09:54:25 +0200
commitce70ee94dde60735aec4424139a376cae4ebc129 (patch)
treecabd85f1c6207432a60c71bc34f969752d1d0365 /net/netfilter
parent0f5b08ca22e1930d2cb0aa176355434b927537bc (diff)
ASoC: wm8960: Fix clock configuration on slave mode
[ Upstream commit 6b9b546dc00797c74bef491668ce5431ff54e1e2 ] There is a noise issue for 8kHz sample rate on slave mode. Compared with master mode, the difference is the DACDIV setting, after correcting the DACDIV, the noise is gone. There is no noise issue for 48kHz sample rate, because the default value of DACDIV is correct for 48kHz. So wm8960_configure_clocking() should be functional for ADC and DAC function even if it is slave mode. In order to be compatible for old use case, just add condition for checking that sysclk is zero with slave mode. Fixes: 0e50b51aa22f ("ASoC: wm8960: Let wm8960 driver configure its bit clock and frame clock") Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/1634102224-3922-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions