OpenCloudOS-Kernel/drivers/mtd/nand/brcmnand
Florian Fainelli 422485da15 mtd: nand: brcmnand: Change BUG_ON in brcmnand_send_cmd
Change the BUG_ON() condition in brcmnand_send_cmd() which checks for
the interrupt status "controller ready" bit to a WARN_ON.

There is no good reason to kill the system when this condition occur
because we could have systems which listed the NAND controller as
available (e.g: from Device Tree), but the NAND chip could be
malfunctioning and not responding.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2016-07-16 20:40:16 -07:00
..
Makefile mtd: brcmnand: Add support for the BCM6368 2015-12-09 18:28:42 -08:00
bcm6368_nand.c mtd: brcmnand: defer to devm_ioremap_resource() for error checking 2015-12-10 13:08:08 -08:00
bcm63138_nand.c mtd: brcmnand: refactor bcm63138 SoC layering 2015-09-30 13:07:01 -07:00
brcmnand.c mtd: nand: brcmnand: Change BUG_ON in brcmnand_send_cmd 2016-07-16 20:40:16 -07:00
brcmnand.h mtd: brcmnand: remove unnecessary fields from brcmnand_soc 2015-09-30 13:07:02 -07:00
brcmstb_nand.c mtd: brcmnand: add support for STB chips 2015-05-15 13:16:44 -07:00
iproc_nand.c mtd: brcmnand: refactor iProc SoC layering 2015-09-30 13:07:02 -07:00