commit | a227d4e4c356c9be84daba80be282ec56ba46c6c | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Nov 09 13:35:28 2016 +0900 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Sat Nov 19 09:40:41 2016 +0100 |
tree | 483225fd7298240ad71d1feb89cd17e04e3f362c | |
parent | 7ebb8d06781f87f5c6c6e6bae42ab44ba0fe9012 [diff] |
mtd: nand: denali: return error code from nand_scan_ident/tail on error The nand_scan_ident/tail() returns an appropriate error value when it fails. Use it instead of the fixed -ENXIO. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>