Re: [PATCH 2/3] spi: bcm-qspi: clear MSPI spifie interrupt during probe

From: Florian Fainelli
Date: Sun Oct 10 2021 - 22:54:04 EST




On 10/8/2021 1:36 PM, Kamal Dasu wrote:
From: Kamal Dasu <kdasu@xxxxxxxxxxxx>

Intermittent Kernel crash has been observed on probe in
bcm_qspi_mspi_l2_isr() handler when the MSPI spifie interrupt bit
has not been cleared before registering for interrupts.
Fix the driver to move SoC specific custom interrupt handling code
before we register IRQ in probe. Also clear MSPI interrupt status
resgiter prior to registering IRQ handlers.

Fixes: cc20a38612db ("spi: iproc-qspi: Add Broadcom iProc SoCs support")
Signed-off-by: Kamal Dasu <kdasu@xxxxxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian