Home
last modified time | relevance | path

Searched hist:c8cae35572b6132e7c3fbb708ebee4b84e29bbed (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Dhisi504_nand.cc8cae35572b6132e7c3fbb708ebee4b84e29bbed Fri Nov 04 10:43:07 UTC 2016 Masahiro Yamada <yamada.masahiro@socionext.com> mtd: nand: hisi504: return error code of nand_scan_ident() on error

The nand_scan_ident() returns an appropriate error value when it
fails. Use it instead of the fixed error code -ENODEV.
(This driver is already doing so for nand_scan_tail().)

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>