diff options
author | Carlos Song <carlos.song@nxp.com> | 2024-12-26 14:25:21 +0800 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2025-01-07 23:46:10 +0100 |
commit | d9a13c08f88d696218a44658f290b1b433e787b6 (patch) | |
tree | 9d7bd30873988ddfcf7af0ce6e7b2144fc80bd57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8b56f98b28e6238bcfe00de743b4361d26a7f980 (diff) |
i2c: imx: support DMA defer probing
Return -EPROBE_DEFER when dma_request_slave_channel() because DMA driver
have not ready yet.
Move i2c_imx_dma_request() before registering I2C adapter to avoid
infinite loop of .probe() calls to the same driver, see "e8c220fac415
Revert "i2c: imx: improve the error handling in i2c_imx_dma_request()""
and "Documentation/driver-api/driver-model/driver.rst".
Use CPU mode to avoid stuck registering i2c adapter when DMA resources
are unavailable.
Signed-off-by: Carlos Song <carlos.song@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Acked-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20241226062521.1004809-1-carlos.song@nxp.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions