]> git.baikalelectronics.ru Git - kernel.git/commit
spi: bcm2835: Implement shutdown callback
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 28 May 2020 19:06:05 +0000 (12:06 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 16:49:53 +0000 (17:49 +0100)
commitea2c42fe555a0288fe36a6c7c9959c8417f53154
treed2bc7d79cd3b18f86f48f62efadc1288d53423b6
parentec6b4044a731f3589d722840b5bcda59ffd90ac6
spi: bcm2835: Implement shutdown callback

Make sure we clear the FIFOs, stop the block, disable the clock and
release the DMA channel.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20200528190605.24850-1-f.fainelli@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835.c