Skip to content
Commit 72f3d3da authored by Ben Hutchings's avatar Ben Hutchings Committed by Richard Weinberger
Browse files

mtd: ubi: Restore missing cleanup on ubi_init() failure path



We need to clean-up debugfs and ubiblock if we fail after initialising
them.

Signed-off-by: default avatarBen Hutchings <ben.hutchings@mind.be>
Fixes: 927c1452 ("mtd: ubi: attach from device tree")
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 06776df7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment