diff options
author | Kamal Dasu <kdasu@broadcom.com> | 2021-10-08 16:36:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-11 13:20:23 +0100 |
commit | 75b3cb97eb1f05042745c0655a7145b0262d4c5c (patch) | |
tree | 10283bb5bcda7f5e2d1831876413bc94fb51c91d /include | |
parent | 67a12ae52599c9f2f24ef14adb43fc3b164792b5 (diff) |
spi: bcm-qspi: clear MSPI spifie interrupt during probe
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@broadcom.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211008203603.40915-3-kdasu.kdev@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions