]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Fix LRCLK frame start edge
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 5 Aug 2021 16:11:05 +0000 (17:11 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 5 Aug 2021 19:17:14 +0000 (20:17 +0100)
commite0b5b9458376fec51282482dd276c1c826fb7f4d
tree8702651cb6dcb68055b8f913a2bc5b15ae20b708
parent1ca84d46de5430c597e08f5e74dc62744a1b76f0
ASoC: cs42l42: Fix LRCLK frame start edge

An I2S frame starts on the falling edge of LRCLK so ASP_STP must
be 0.

At the same time, move other format settings in the same register
from cs42l42_pll_config() to cs42l42_set_dai_fmt() where you'd
expect to find them, and merge into a single write.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 74178383bdae ("ASoC: Add support for CS42L42 codec")
Link: https://lore.kernel.org/r/20210805161111.10410-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c