summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-19 19:02:29 -0700
committerDamien Le Moal <dlemoal@kernel.org>2026-07-23 16:40:05 +0900
commitc303c3619a1d5cf7d4b457106062d16724724a80 (patch)
tree77d0445aeea3e12f1dbfa969dfd061b3beb083fc /tools/perf/scripts/python
parent43ea91dadb35579169884f6707d43f7b2607153d (diff)
ata: pata_ep93xx: fix PIO fallback when DMA init fails
ep93xx_pata_dma_init() returns an error when dma_request_chan() fails, which causes ep93xx_pata_probe() to abort entirely. The probe function already has a PIO fallback path (it checks both channel pointers before enabling UDMA), so the DMA init should not fail the probe on non-fatal errors. Propagate -EPROBE_DEFER, such that we allow the DMA controller driver to load, in case we got probed before the DMA controller driver. For all other failures (e.g. -ENODEV when the DMA controller is missing in the device tree), fall back to PIO. Assisted-by: Opencode:Big-Pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions