iopoll: Add readl_poll_sleep_timeout
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 2 May 2020 07:15:03 +0000 (12:45 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Sun, 10 May 2020 20:00:49 +0000 (01:30 +0530)
commitce786ae3913f3a006ec959cc9538d6c4d4114345
tree452cae1ededefcb0c4534853cf5116f55ee7ef31
parentc094e219a8614b3da275ad696cdfefbb9f2c453d
iopoll: Add readl_poll_sleep_timeout

Add readl poll API with sleep and timeout support.

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>
include/linux/iopoll.h