- 13 1月, 2015 1 次提交
-
-
由 Harini Katakam 提交于
The I2C controller sends a NACK to the slave when transfer size register reaches zero, irrespective of the hold bit. So, in order to handle transfers greater than 252 bytes, the transfer size register has to be maintained at a value >= 1. This patch implements the same. The interrupt status is cleared at the beginning of the isr instead of the end, to avoid missing any interrupts. Signed-off-by: NHarini Katakam <harinik@xilinx.com> [wsa: added braces around else branch] Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
- 05 12月, 2014 1 次提交
-
-
由 Vishnu Motghare 提交于
Cadence I2C controller has bug wherein it generates invalid read transactions after timeout in master receiver mode. This driver does not use the HW timeout and this interrupt is disabled but the feature itself cannot be disabled. Hence, this patch writes the maximum value (0xFF) to this register. This is one of the workarounds to this bug and it will not avoid the issue completely but reduces the chances of error. Signed-off-by: NVishnu Motghare <vishnum@xilinx.com> Signed-off-by: NHarini Katakam <harinik@xilinx.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org
-
- 20 10月, 2014 1 次提交
-
-
由 Wolfram Sang 提交于
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
- 06 4月, 2014 1 次提交
-
-
由 Soren Brinkmann 提交于
Add a driver for the Cadence I2C controller. This controller is for example found in Xilinx Zynq. Signed-off-by: NSoren Brinkmann <soren.brinkmann@xilinx.com> Tested-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NHarini Katakam <harinik@xilinx.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-