diff options
| author | Biju Das <[email protected]> | 2023-07-06 12:21:49 +0100 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2023-07-12 22:24:00 +0530 |
| commit | 7ab04b7cffa5aa646bfaf70d63634767dbf87eba (patch) | |
| tree | 463ab33eaee157bb4bf35e2265a66052c9598ef7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
dmaengine: sh: rz-dmac: Improve cleanup order in probe()/remove()
We usually do cleanup in reverse order of init. Currently, in the
case of error, this is not followed in rz_dmac_probe(), and similar
case for remove().
This patch improves error handling in probe() and cleanup in
reverse order of init in the remove().
Reported-by: Pavel Machek <[email protected]>
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions