]> 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)
commitc622e3fc1476eba77dc0334bd6c3fb10d4cf0cd8
tree8702651cb6dcb68055b8f913a2bc5b15ae20b708
parent61cbee25d53ebdf0be86d84ab2e7f83bb4b57c0f
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: 76df8a58a574 ("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