Commit 0274df31 authored by Sricharan R's avatar Sricharan R Committed by Srinivas Kandagatla
Browse files

i2c: qup: Change qup_wait_writeready function to use for all timeouts



qup_wait_writeready waits only on a output fifo empty event.
Change the same function to accept the event and data length
to wait as parameters. This way the same function can be used for
timeouts in otherplaces as well.

Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
parent 6a13feb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment