i2c: tegra: Fix Maximum transfer size
authorSowjanya Komatineni <skomatineni@nvidia.com>
Tue, 8 Jan 2019 21:59:10 +0000 (13:59 -0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Jan 2019 23:15:04 +0000 (00:15 +0100)
commitb67d4530cdade7ebfafa2c6b46f2a0dad3e41bcb
tree478da2d5b1bae3bd1fd7ceb9422082619a484e77
parent6ebec961d59bccf65d08b13fc1ad4e6272a89338
i2c: tegra: Fix Maximum transfer size

Tegra194 supports maximum 64K Bytes transfer per packet.
Tegra186 and prior supports maximum 4K Bytes transfer per packet.

This patch fixes this payload difference between Tegra194 and prior
Tegra chipsets using separate i2c_adapter_quirks.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-tegra.c