From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbcGQDlj (ORCPT ); Sat, 16 Jul 2016 23:41:39 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33454 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751887AbcGQDlg (ORCPT ); Sat, 16 Jul 2016 23:41:36 -0400 Date: Sat, 16 Jul 2016 20:41:27 -0700 From: Brian Norris To: Florian Fainelli Cc: linux-mtd@lists.infradead.org, Kamal Dasu , Boris Brezillon , Richard Weinberger , David Woodhouse , "open list:BROADCOM STB NAND FLASH DRIVER" , open list Subject: Re: [PATCH] mtd: nand: brcmnand: Change BUG_ON in brcmnand_send_cmd Message-ID: <20160717034127.GA14096@brian-ubuntu> References: <1467999399-22288-1-git-send-email-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467999399-22288-1-git-send-email-f.fainelli@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 08, 2016 at 10:36:39AM -0700, Florian Fainelli wrote: > 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 Applied to l2-mtd.git