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)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 12:12:31 +0000 (13:12 +0100)
commit3a2eb0b4b02060340af10a1db3c452472471be2f
tree561da0225d4e8ce02cbd1c94461db3d818819b7f
parentc2f14cc2bcdd532f8a18450407ffc27bbbff2319
ASoC: cs35l41: Use regmap_read_poll_timeout to wait for OTP boot

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>
sound/soc/codecs/cs35l41.c