[PATCH] spi: mediatek: Enable irq when pdata is ready

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Nov 28 05:32:31 PST 2022


Il 28/11/22 12:00, Ricardo Ribalda ha scritto:
> If the device does not come straight from reset, we might receive an IRQ
> before we are ready to handle it.
> 
> Fixes:
> 
> [    0.832328] Unable to handle kernel read from unreadable memory at virtual address 0000000000000010
> [    1.040343] Call trace:
> [    1.040347]  mtk_spi_can_dma+0xc/0x40
> ...
> [    1.262265]  start_kernel+0x338/0x42c
> 
> Signed-off-by: Ricardo Ribalda <ribalda at chromium.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the linux-arm-kernel mailing list