[V5, 1/6] i2c: qup: Change qup_wait_writeready function to use for all timeouts

Andy Gross andy.gross at linaro.org
Mon Jan 4 19:19:44 PST 2016


On Tue, Nov 17, 2015 at 05:15:22PM +0530, Sricharan R wrote:
> 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: Sricharan R <sricharan at codeaurora.org>

Looks good to me.

Reviewed-by: Andy Gross <andy.gross at linaro.org>



More information about the linux-arm-kernel mailing list