aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2022-12-25 09:37:12 +0100
committerMark Brown <[email protected]>2022-12-27 13:42:40 +0000
commitb1e9c223736b1471287f0ac46a368676c3bd7727 (patch)
tree4f0fa253fb18a994ba052a4dd97a2aebc563b9ba /tools/perf/scripts/python
parentce9ef749a2fa9048c1ebacc3194b17a9628512f5 (diff)
spi: mediatek: Enable irq before the spi registration
If the irq is enabled after the spi si registered, there can be a race with the initialization of the devices on the spi bus. Eg: mtk-spi 1100a000.spi: spi-mem transfer timeout spi-nor: probe of spi0.0 failed with error -110 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010 ... Call trace: mtk_spi_can_dma+0x0/0x2c Fixes: c6f7874687f7 ("spi: mediatek: Enable irq when pdata is ready") Reported-by: Daniel Golle <[email protected]> Signed-off-by: Ricardo Ribalda <[email protected]> Tested-by: Daniel Golle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions