gpio: iopoll: implement gpio_poll_timeout_us
Sometimes we need to wait for state change on a GPIO, provide a helper for future code to do this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
include/gpio.h |
---|