Re: [PATCH] spi: spi-nxp-fspi: fix fspi panic by unexpected interrupts

2020-11-23 Thread Mark Brown
On Mon, 23 Nov 2020 10:57:15 +0800, Ran Wang wrote: > Given the case that bootloader(such as UEFI)'s FSPI driver might not > handle all interrupts before loading kernel, those legacy interrupts > would assert immidiately once kernel's FSPI driver enable them. Further, > if it was FSPI_INTR_IPCMDDON

[PATCH] spi: spi-nxp-fspi: fix fspi panic by unexpected interrupts

2020-11-22 Thread Ran Wang
Given the case that bootloader(such as UEFI)'s FSPI driver might not handle all interrupts before loading kernel, those legacy interrupts would assert immidiately once kernel's FSPI driver enable them. Further, if it was FSPI_INTR_IPCMDDONE, the irq handler nxp_fspi_irq_handler() would call complet