diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-08 10:36:39 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-07-16 20:40:16 -0700 |
commit | 422485da15e7e9e6f71a5efd1aa2248595cb486d (patch) | |
tree | 222970dce27fdc3b2033daf73a25c266593d10bb /lib/locking-selftest-rlock.h | |
parent | 79ad07d45743721010e766e65dc004ad249bd429 (diff) | |
download | op-kernel-dev-422485da15e7e9e6f71a5efd1aa2248595cb486d.zip op-kernel-dev-422485da15e7e9e6f71a5efd1aa2248595cb486d.tar.gz |
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>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions