On Thu, Apr 30, 2020 at 8:16 PM Tom Rini <[email protected]> wrote: > > On Thu, Apr 30, 2020 at 12:34:05PM +0530, Jagan Teki wrote: > > > Some drivers and other bsp code not only poll the > > register with timeout but also required to delay > > on each transaction. > > > > This patch add that requirement by adding sleep_us > > variable so-that read_poll_timeout now support > > delay as well. > > > > Cc: Tom Rini <[email protected]> > > Signed-off-by: Jagan Teki <[email protected]> > > This (and 2/8) need to say what kernel commit you're taking this from, > thanks.
Linux supports sleep_us at the beginning where read_poll_timeout supports, i.e. the reason I didn't add the sha1. If that works, I will add the same sha1 and apply via my tree (since it has some SPI changes dependency patch)? Jagan.

