diff options
author | Miquel Raynal | 2018-03-21 14:01:52 +0100 |
---|---|---|
committer | Boris Brezillon | 2018-03-29 09:38:20 +0200 |
commit | 5a3e8cde101209edb962ed42091db257f9f5ce5c (patch) | |
tree | 97fe538637549be93a306af41658e661e9e60b9d /CREDITS | |
parent | 122bb3cb8b009aaa19fd8b09df8028ba8d49c043 (diff) |
mtd: rawnand: sh_flctl: fix the probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup().
The helper mtd_device_parse_register() returns an error code that should
be checked and nand_cleanup() called accordingly.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions