diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2020-05-02 12:45:01 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-05-11 01:30:49 +0530 |
commit | 54232474d6fe9214942b79fa2608c3ad1d9f07d0 (patch) | |
tree | 0586dcd3c47b15d144ffc3dc0419e0347cdc2e3c /cmd/spi.c | |
parent | d7c56616dcc8cac6f5de8e605fd00486a59fef50 (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>
Diffstat (limited to 'cmd/spi.c')
0 files changed, 0 insertions, 0 deletions