]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit0ea23660c7170124fc06ec363b4d2adfa350cf2f
tree95f6ee9b83bf6f0394a27d5aed7a944c464d0541
parent2cdba9b045c745139ae56227d71f261f5d3c6fae
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