diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-03 13:00:04 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-15 22:07:10 +0100 |
commit | 79b584ed12a08392baa4c498be1396c504b1e071 (patch) | |
tree | 19182064315eb23261378d4107bbb7f3b6fc3723 /drivers/hwmon/hih6130.c | |
parent | 22c26db48c19a48c1ee6919e70feda314e596c10 (diff) | |
download | linux-79b584ed12a08392baa4c498be1396c504b1e071.tar.bz2 |
iio: adc: meson_saradc: Use regmap_read_poll_timeout() for busy wait
Simplify busy wait stages by using regmap_read_poll_timeout().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # GXM VIM2
Link: https://lore.kernel.org/r/20220603100004.70336-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/hwmon/hih6130.c')
0 files changed, 0 insertions, 0 deletions