Skip to contentSkip to conversation

i2c: tegra: fix tegra186 hw feature support

PATCH New Sowjanya Komatineni 1 participant 1 message Feb 18, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 i2c: tegra: fix tegra186 hw feature support

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.

---
 drivers/i2c/busses/i2c-tegra.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-tegra.c +1 -1
index a4cd79c9f7a7..e6851904acc1 100644
@@ -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,
Signature · 1 line
2.7.4