]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-designware: Enable RX_FULL interrupt
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Fri, 6 Nov 2009 12:48:33 +0000 (21:48 +0900)
committerBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 00:19:11 +0000 (00:19 +0000)
commit970c71468c802a440abe1451ab11c499f937ce3a
tree6ca44511457f1b9bfb42f322cebc2a12dbc89c3d
parent7fc706cc33f4494c76e84271f3bbe0b35dbf38cc
i2c-designware: Enable RX_FULL interrupt

Enable RX_FULL interrupt mask by default, and hook it in the interrupt
handler.  If requested amount of rx data (defined by IC_RX_TL) is not
available, we don't have to process i2c_dw_read().

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c