]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: cs35l41: Use regmap_read_poll_timeout to wait for OTP boot
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 14 Sep 2021 14:13:45 +0000 (15:13 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:41:32 +0000 (14:41 +0200)
commitc88e5f798e2614ad8107e4a136d01d6567d38169
treeee45c8e37ee17cfc85ff1b3ea579d6484d00f837
parent75ae0725d133366080256b59e8d2274ecad70f88
ASoC: cs35l41: Use regmap_read_poll_timeout to wait for OTP boot

BugLink: https://bugs.launchpad.net/bugs/1965496
Just clean up the code a little by using the helper rather than open
coding waiting for OTP_BOOT_DONE.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210914141349.30218-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 3a2eb0b4b02060340af10a1db3c452472471be2f)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Acked-by: Paolo Pisati <paolo.pisati@canonical.com>
sound/soc/codecs/cs35l41.c