OSDN Git Service

spi: tegra20-slink: explicitly enable/disable clock
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 29 Aug 2018 06:47:57 +0000 (08:47 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 3 Sep 2018 11:23:41 +0000 (12:23 +0100)
commit7001cab1dabc0b72b2b672ef58a90ab64f5e2343
treef7c53816c6638be385238894556b29c210eda46b
parent5223c9c1cbfc0cd4d0a1b50758e0949af3290fa1
spi: tegra20-slink: explicitly enable/disable clock

Depending on the SPI instance one may get an interrupt storm upon
requesting resp. interrupt unless the clock is explicitly enabled
beforehand. This has been observed trying to bring up instance 4 on
T20.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-tegra20-slink.c