diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2018-08-27 16:51:15 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-10-23 10:58:34 +0300 |
commit | b04e68d16605dcde1c21b5df5f86a5372e53ae97 (patch) | |
tree | 539c884321e9b00d65e6a1d1b52773a342ced999 /drivers/mfd/max77620.c | |
parent | 6b269a41a4520f7eb639e61a45ebbb9c9267d5e0 (diff) | |
download | linux-b04e68d16605dcde1c21b5df5f86a5372e53ae97.tar.xz |
mfd: madera: Don't use regmap_read_poll_timeout to poll for BOOT_DONE
While polling for BOOT_DONE the chip could NAK a read because it is
still booting, which would terminate the regmap_read_poll_timeout()
with an error.
Instead implement a polling loop that ignores read errors so we
always poll until the chip signals boot or the loop times out.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max77620.c')
0 files changed, 0 insertions, 0 deletions