commit | d13801ef1d14fe46f97630b56e01200b337dad6c | [log] [tgz] |
---|---|---|
author | Neil Armstrong <narmstrong@baylibre.com> | Thu Nov 22 11:01:03 2018 +0100 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Sat Nov 24 14:41:11 2018 +0530 |
tree | dbe871d31bd3bf95d3bed37cf07379d09266d754 | |
parent | d821e5edfb8023dc01baa8e1fc0487485f313db2 [diff] |
regmap: add regmap_read_poll_timeout() helper Add the regmap_read_poll_timeout() macro based on the Linux implementation to simplify register polling with configurable timeout and sleep. Tested-by: Jerome Brunet <jbrunet@baylibre.com> Acked-by: Jagan Teki <jagan@openedev.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>