]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: qup: Change qup_wait_writeready function to use for all timeouts
authorSricharan R <sricharan@codeaurora.org>
Thu, 12 Mar 2015 09:15:19 +0000 (14:45 +0530)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:57 +0000 (09:54 +0000)
commit0b504b0de922d621c1fabe354e0819d22a95983c
tree49aaa817fe79cfcc7e16f31b019641828f13fcb4
parentafd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
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: Sricharan R <sricharan@codeaurora.org>
drivers/i2c/busses/i2c-qup.c