Commits
Axel Haslam committed 1dd1fd58bcd
regulator: core: Add new API to poll for error conditions commit 1b5b42216469b05ef4b5916cb40b127dfab1da88 upstream. Regulator consumers can receive event notifications when errors are reported to the driver, but currently, there is no way for a regulator consumer to know when the error is over. To allow a regulator consumer to poll for error conditions add a new API: regulator_get_error_flags. Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sekhar Nori <nsekhar@ti.com>