diff options
author | Sowjanya Komatineni <skomatineni@nvidia.com> | 2019-02-19 09:28:51 -0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-02-23 10:28:14 +0100 |
commit | 9ffc125cd4f953d1e3ea6104a809717e417ed057 (patch) | |
tree | de6a122f7eddc63c0bce1f38a68003b73f63c206 | |
parent | bb0e9b1d2a1f933b4d899cae039363297270198d (diff) | |
download | linux-stable-9ffc125cd4f953d1e3ea6104a809717e417ed057.tar.gz linux-stable-9ffc125cd4f953d1e3ea6104a809717e417ed057.tar.bz2 linux-stable-9ffc125cd4f953d1e3ea6104a809717e417ed057.zip |
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>
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 5a403c3ab66c..9d097ad2f6db 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -1436,7 +1436,7 @@ static const struct tegra_i2c_hw_feature tegra186_i2c_hw = { .has_config_load_reg = true, .has_multi_master_mode = true, .has_slcg_override_reg = true, - .has_mst_fifo = true, + .has_mst_fifo = false, .quirks = &tegra_i2c_quirks, .supports_bus_clear = true, .has_apb_dma = false, |