aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2020-01-30 08:08:34 +0100
committerVinod Koul <[email protected]>2020-01-30 13:53:53 +0530
commit474809a28e7b0671a5090de6e0db91f0e3821360 (patch)
tree4c2d4f69d9b7ddd968eab27970b393f0fd9ff49b /tools/perf/scripts/python/exported-sql-viewer.py
parent08607e8319c76a8a37fc2a0ecac328833f4e9f39 (diff)
dmaengine: Fix return value for dma_request_chan() in case of failure
Commit 71723a96b8b1 ("dmaengine: Create symlinks between DMA channels and slaves") changed the dma_request_chan() function flow in such a way that it always returns EPROBE_DEFER in case of channels that cannot be found. This break the operation of the devices which have optional DMA channels as it puts their drivers in endless deferred probe loop. Fix this by propagating the proper error value. Fixes: 71723a96b8b1 ("dmaengine: Create symlinks between DMA channels and slaves") Signed-off-by: Marek Szyprowski <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] [vkoul: fix typo in patch title] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions