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

From: Andy Gross
Date: Mon Jan 04 2016 - 22:19:53 EST


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@xxxxxxxxxxxxxx>

Looks good to me.

Reviewed-by: Andy Gross <andy.gross@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/