Re: [PATCH v3 26/37] mtd: nand: denali: fix bank reset function

2017-04-03 Thread Masahiro Yamada
Hi Boris, 2017-03-31 1:16 GMT+09:00 Boris Brezillon : > On Thu, 30 Mar 2017 15:46:12 +0900 > Masahiro Yamada wrote: > >> The function denali_nand_reset() is called during the driver probe, >> and polls the INTR__RST_COMP and INTR__TIME_OUT bits. However, >> INTR__RST_COMP is set anyway even if

Re: [PATCH v3 26/37] mtd: nand: denali: fix bank reset function

2017-03-30 Thread Boris Brezillon
On Thu, 30 Mar 2017 15:46:12 +0900 Masahiro Yamada wrote: > The function denali_nand_reset() is called during the driver probe, > and polls the INTR__RST_COMP and INTR__TIME_OUT bits. However, > INTR__RST_COMP is set anyway even if no NAND device is connected to > that bank. > > This can be a p

[PATCH v3 26/37] mtd: nand: denali: fix bank reset function

2017-03-29 Thread Masahiro Yamada
The function denali_nand_reset() is called during the driver probe, and polls the INTR__RST_COMP and INTR__TIME_OUT bits. However, INTR__RST_COMP is set anyway even if no NAND device is connected to that bank. This can be a problem for ONFi devices. The nand_scan_ident() iterates over maxchips,