]> git.baikalelectronics.ru Git - kernel.git/commit
spi: tegra20-slink: Ensure SPI controller reset is deasserted
authorJon Hunter <jonathanh@nvidia.com>
Tue, 8 Jun 2021 07:15:18 +0000 (08:15 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Jun 2021 12:48:38 +0000 (13:48 +0100)
commit2a0cbf1a8b222027958f3c37d6ead9df55b76cf0
treed8ce8736ad623e03360863182da777478ffecf67
parent34b090614d1d1df68ef6cfefa79a314bb2900288
spi: tegra20-slink: Ensure SPI controller reset is deasserted

Commit 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling
clocks") removed some legacy code for handling resets on Tegra from
within the Tegra clock code. This exposed an issue in the Tegra20 slink
driver where the SPI controller reset was not being deasserted as needed
during probe. This is causing the Tegra30 Cardhu platform to hang on
boot. Fix this by ensuring the SPI controller reset is deasserted during
probe.

Fixes: 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling clocks")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20210608071518.93037-1-jonathanh@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra20-slink.c