Sifan Naeem 1ed6faedfc i2c: img-scb: Clear line and interrupt status before starting a transfer
Clear line status and all generated interrupts from the interrupt
status register before starting a transfer, as we may have
unserviced interrupts from previous transfers that might be
handled in the context of the new transfer.

Fixes: commit 27bce457d588 ("i2c: img-scb: Add Imagination Technologies I2C SCB driver")
Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: James Hartley <james.hartley@imgtec.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-10-10 08:39:45 +01:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2015-07-31 13:32:31 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-08-10 08:37:29 +02:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2015-05-12 18:27:48 +02:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2015-08-24 14:05:18 +02:00
2015-03-27 16:53:41 +01:00
2015-05-12 18:27:48 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-08-10 08:37:33 +02:00
2015-08-10 08:37:28 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-04-23 19:35:33 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-08-24 14:05:18 +02:00
2014-12-14 16:10:09 -08:00