Skip to content
Snippets Groups Projects
Commit c4f0c5fb authored by Sricharan R's avatar Sricharan R Committed by Wolfram Sang
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 other places as well.

Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
Reviewed-by: default avatarAndy Gross <andy.gross@linaro.org>
Tested-by: default avatarArchit Taneja <architt@codeaurora.org>
Tested-by: default avatarTelkar Nagender <ntelkar@codeaurora.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 50a5ba87
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment