OSDN Git Service

ASoC: cs35l56: Waiting for firmware to boot must be tolerant of I/O errors
authorSimon Trimmer <simont@opensource.cirrus.com>
Tue, 29 Aug 2023 16:04:33 +0000 (17:04 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 29 Aug 2023 19:12:38 +0000 (20:12 +0100)
commit06afec5c988acb2c4f566eac2f6ec53d30d3a1b5
tree33bc812ee65c2f4beff4375deeb973d8c7619021
parentb5f3cec3159dd28563e5a88096769f7b77272790
ASoC: cs35l56: Waiting for firmware to boot must be tolerant of I/O errors

Ignore failure to read from the cs35l56 when polling as the device will
NAK i2c accesses until it has booted and this would terminate the poll
of regmap_read_poll_timeout().

Fixes: 8a731fd37f8b ("ASoC: cs35l56: Move utility functions to shared file")
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com
Link: https://lore.kernel.org/r/20230829160433.2647889-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/codecs/cs35l56-shared.c