Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

From: Jarkko Nikula
Date: Wed Dec 14 2016 - 06:20:43 EST


On 12/14/2016 11:23 AM, Tin Huynh wrote:
ACPI always sets Tx/Rx FIFO to 32. This configuration will
cause problem if the IP core supports a FIFO size of less than 32.
The driver should read the FIFO size from the IP and select the smaller
one of the two.

Signed-off-by: Tin Huynh <tnhuynh@xxxxxxx>

---
drivers/i2c/busses/i2c-designware-platdrv.c | 31 ++++++++++++++++++++------
1 files changed, 24 insertions(+), 7 deletions(-)

Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>