commit | 546fe03fe349fd79df28ed8fed5efb1357110e28 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Nov 04 19:42:50 2016 +0900 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Nov 07 14:48:41 2016 +0100 |
tree | 952f139d66af10c479e78d7a58a429a12ee637e6 | |
parent | 0d0aa866ffa45471b12c9b9c5c48cbc02dcca59b [diff] |
mtd: nand: cmx270: return error code of nand_scan() on error The nand_scan() returns an appropriate error value when it fails. Use it instead of the fixed error code -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>