Re: [PATCH 09/11] mtd: nand: denali: return error code from nand_scan_ident/tail on error

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > 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 Reviewed-by: Marek Vasut > --- > >

Re: [PATCH 09/11] mtd: nand: denali: return error code from nand_scan_ident/tail on error

2016-11-12 Thread Marek Vasut
On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > 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 Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 10 -- > 1 file

[PATCH 09/11] mtd: nand: denali: return error code from nand_scan_ident/tail on error

2016-11-08 Thread Masahiro Yamada
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 --- drivers/mtd/nand/denali.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 09/11] mtd: nand: denali: return error code from nand_scan_ident/tail on error

2016-11-08 Thread Masahiro Yamada
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 --- drivers/mtd/nand/denali.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/denali.c