Re: [PATCH 13/22] mtd: nand: lpc32xx: return error code of nand_scan_ident/tail() on error

2016-11-06 Thread Vladimir Zapolskiy
Hi Boris, On 11/06/2016 08:27 PM, Boris Brezillon wrote: On Fri, 4 Nov 2016 19:43:01 +0900 Masahiro Yamada wrote: The nand_scan_ident/tail() returns an appropriate error value when it fails. Use it instead of the fixed error code -ENXIO. Signed-off-by: Masahiro Yamada --- [snip] -

Re: [PATCH 13/22] mtd: nand: lpc32xx: return error code of nand_scan_ident/tail() on error

2016-11-06 Thread Boris Brezillon
On Fri, 4 Nov 2016 19:43:01 +0900 Masahiro Yamada wrote: > The nand_scan_ident/tail() returns an appropriate error value when > it fails. Use it instead of the fixed error code -ENXIO. > > Signed-off-by: Masahiro Yamada > --- > > drivers/mtd/nand/lpc32xx_mlc.c | 10 -- > drivers/mtd

Re: [PATCH 13/22] mtd: nand: lpc32xx: return error code of nand_scan_ident/tail() on error

2016-11-05 Thread Vladimir Zapolskiy
On 11/04/2016 12:43 PM, Masahiro Yamada wrote: The nand_scan_ident/tail() returns an appropriate error value when it fails. Use it instead of the fixed error code -ENXIO. Signed-off-by: Masahiro Yamada --- Acked-by: Vladimir Zapolskiy Thank you for the change. -- With best wishes, Vladimi

[PATCH 13/22] mtd: nand: lpc32xx: return error code of nand_scan_ident/tail() on error

2016-11-04 Thread Masahiro Yamada
The nand_scan_ident/tail() returns an appropriate error value when it fails. Use it instead of the fixed error code -ENXIO. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/lpc32xx_mlc.c | 10 -- drivers/mtd/nand/lpc32xx_slc.c | 9 +++-- 2 files changed, 7 insertions(+), 12 del