Skip to content
Commit a34d4d1c authored by Andriy Gelman's avatar Andriy Gelman Committed by Carles Cufí
Browse files

drivers: spi: xmc4xxx: Fix potential runtime error



Fixes an unhandled interrupt runtime crash if CONFIG_SPI_XMC4XXX_DMA=y and
CONFIG_SPI_XMC4XXX_INTERRUPT=n.

The unhandled interrupt error is triggered because irq_enable() was called
without calling IRQ_CONNECT() when CONFIG_SPI_XMC4XXX_INTERRUPT=n.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent 8246d147
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment