commit | 9a4c65be72eeb70df3b87cd312e3b46a110bf9b1 | [log] [tgz] |
---|---|---|
author | Jagan Teki <jagan@amarulasolutions.com> | Sat May 02 12:45:01 2020 +0530 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Mon May 11 01:30:49 2020 +0530 |
tree | 0586dcd3c47b15d144ffc3dc0419e0347cdc2e3c | |
parent | 7e82cacb1b02857ab4590ecd7ba6465a5abbd18f [diff] |
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: Jagan Teki <jagan@amarulasolutions.com>