summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWeijie Gao <[email protected]>2023-07-19 17:16:02 +0800
committerTom Rini <[email protected]>2023-08-03 09:40:49 -0400
commitb43512d0468a7e409fc2a8d5130d5a2efdee1b3f (patch)
tree1f4ba80e21946c887fa86cfb35558039890b9a85 /include/linux
parent793e6230118032a099ec42a1ea67f434721edcc0 (diff)
spi: mtk_spim: clear IRQ enable bits
In u-boot we don't use IRQ. Instead, we poll busy bit in SPI_STATUS. However these IRQ enable bits may be set in previous boot stage (BootROM). If we leave these bits not cleared, although u-boot has disabled IRQ and nothing will happen, the linux kernel may encounter panic during initializing the spim driver due to IRQ event happens before IRQ handler is properly setup. This patch clear IRQ bits to prevent this from happening. Signed-off-by: SkyLake.Huang <[email protected]> Signed-off-by: Weijie Gao <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions