spi: tegra20-slink: explicitly enable/disable clock
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 29 Aug 2018 06:47:57 +0000 (08:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Oct 2018 00:00:54 +0000 (17:00 -0700)
commit429773341c34cde3caacbc3992e2dcb1d7ccea86
treeae1de0daddac0561755d1611c021a5cc5e46fb11
parentdc89d37f9098ce6855457a86769f111e9190bd16
spi: tegra20-slink: explicitly enable/disable clock

commit 7001cab1dabc0b72b2b672ef58a90ab64f5e2343 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-tegra20-slink.c