]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Wait at least 150us after writing SCLK_PRESENT
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Sat, 6 Mar 2021 18:55:51 +0000 (18:55 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:14:29 +0000 (13:14 +0000)
commit8456b750821f2db10ab636d863b21944be9dd20a
tree95f6ee9b83bf6f0394a27d5aed7a944c464d0541
parent0c691868520351432de229e4ee123bf41a1196ce
ASoC: cs42l42: Wait at least 150us after writing SCLK_PRESENT

There must be a delay of at least 150us after writing SCLK_PRESENT
before issuing another I2C write.

This is done using struct reg_sequence because it can specify a delay
after the write and the whole sequence is written atomically.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210306185553.62053-14-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h