i2c-nomadik: change the TX and RX threshold
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Fri, 13 May 2011 10:30:34 +0000 (12:30 +0200)
committerBen Dooks <ben-linux@fluff.org>
Tue, 24 May 2011 23:20:47 +0000 (00:20 +0100)
commit553553413a6abdda220a697ef439ba2f4b1d4a7c
tree7f3ea5e0f05c9cd00cb845e458f13ea1c5e968fd
parentebd10e0783d9fb92a147e60902e22c2d3f3ad69d
i2c-nomadik: change the TX and RX threshold

1) Increase RX FIFO threshold so that there is a reduction in
the number of interrupts handled to complete a transaction.

2) Fill TX FIFO in the write function.

Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-nomadik.c