diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-09-20 14:28:49 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-29 17:22:22 +0100 |
commit | a128f6ecd56a32e559889145003425b0c7d406e3 (patch) | |
tree | b5d7f13109c15e2700e2cb04b82e91cc18b8b60d /drivers/leds/leds-apu.c | |
parent | 8225c1c9a073c323f68833d136fcf94fbc75a275 (diff) |
spi: dw: Clear IRQ status on DW SPI controller reset
It turns out the IRQ status isn't cleared after switching the controller
off and getting it back on, which may cause raising false error interrupts
if controller has been unsuccessfully used by, for instance, a bootloader
before the driver is loaded. Let's explicitly clear the interrupts status
in the dedicated controller reset method.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20200920112914.26501-6-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/leds/leds-apu.c')
0 files changed, 0 insertions, 0 deletions