Skip to content
Commit 54232474 authored by Jagan Teki's avatar Jagan Teki
Browse files

iopoll: Add read_poll_timeout common API



Add read_poll_timeout common API similar to Linux iopoll.

readx_poll_timeout will trigger read_poll_timeout with
proper op. This will help to extend the functionalities
like sleep_us to poll timeout in future.

This change is referenced from Linux from below commit:
commit <5f5323a14cad19323060a8cbf9d96f2280a462dd> ("iopoll:
introduce read_poll_timeout macro")

Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent d7c56616
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment