i2c: tegra: remove master fifo support on tegra186
authorSowjanya Komatineni <skomatineni@nvidia.com>
Tue, 19 Feb 2019 17:28:51 +0000 (09:28 -0800)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 23 Feb 2019 09:28:14 +0000 (10:28 +0100)
commit9ffc125cd4f953d1e3ea6104a809717e417ed057
treede6a122f7eddc63c0bce1f38a68003b73f63c206
parentbb0e9b1d2a1f933b4d899cae039363297270198d
i2c: tegra: remove master fifo support on tegra186

Tegra186 does not have master FIFO  control register and instead
uses FIFO control register like prior Tegra chipset.

This patch fixes this and prevents crashing during boot when
accessing FIFO control registers.

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