aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2020-05-19 15:00:10 +0200
committerMiquel Raynal <[email protected]>2020-05-31 10:53:35 +0200
commitb60391eb17b2956ff2fc4c348e5a464da21ff9cb (patch)
tree0fc53bc3416c356bbd16366f3e71e5d768a26fd1 /tools/perf/scripts
parent154298e2a3f6c9ce1d76cdb48d89fd5b107ea1a3 (diff)
mtd: rawnand: oxnas: Unregister all devices on error
On error, the oxnas probe path just frees the device which failed and aborts the probe, leaving unreleased resources. Fix this situation by calling mtd_device_unregister()/nand_cleanup() on these. Fixes: 668592492409 ("mtd: nand: Add OX820 NAND Support") Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions