Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10495088rwl; Mon, 2 Jan 2023 03:42:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXsN0qDm27bl/AZCuFgqE3GkH8UFdCVtJdTaIej3+FK45Cwi4oSj6+otAJzEic61g8YIiv/K X-Received: by 2002:aa7:914e:0:b0:574:35fd:379e with SMTP id 14-20020aa7914e000000b0057435fd379emr41812059pfi.2.1672659774670; Mon, 02 Jan 2023 03:42:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672659774; cv=none; d=google.com; s=arc-20160816; b=Yyi1vgwDBd4ZWYjusgh1zuRk9vR8WrdkMvogXKdzH3h52OQWamrr5ruxRob2kEYIni XyW4MFAHwPNRuuPKdlE4gU24I7QBh60eGGOgOHm6374B7H0dcBd8CrpKFEGA+Fk/jyXl ER1DbEtf4S9MSsm6Ow9vUSjhJlO2xnY6G7vtVcfK98seiavH8Aelu6qmdF0XB2+7WtnE SuLM/CUf+esM+ageDgQ5loPqZv2TgpfBxSF84AaL3j2pRGjDs/kWv5UfU9q/0JbkNs0N meUWnQ/5Xl/ej2x6v4g2PsLcv4Twm6YCJTwiPDnr3uiFbfa5KKTo6v4Do94uONet5ZQB NBdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dYSHMB3px/jIzZ5HFen7sFam2xnxq7pikzKYVodSq3I=; b=B5mWmK+fzaIiRAOOuY5S4aDihOsH6ZTpRac8ICWcWBCa458nftTcbvz6hq71nfi155 AjElc6HhNwyHc8jvUSTCp8uKr0ISSTm5dNORiA55aKMu7yvL4j3zEjIJfvhp0CcBoG19 kM3P1ww4Mg8RemiNi83IzkDZw7iVtdiaZ7Sy4Ike/+22ZR3FEgVkKaHeUbdJMRWUdjjL TRf55dIByh8vCI35d7uH7I9b5lMLXay8dMs2FHMclLV+SR9/HwuvjI4Dl6aHKme6XaiH JBMDRCJJ2YFjqXsWHkpBFEFL0rQrNpHn6CwcR0u0qtYZ8f4sInSXz8jXnrqkhVA+qwl+ vd6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=arMLhacM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f65-20020a625144000000b005750d19295esi27009488pfb.369.2023.01.02.03.42.45; Mon, 02 Jan 2023 03:42:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=arMLhacM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232693AbjABLVK (ORCPT + 60 others); Mon, 2 Jan 2023 06:21:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232419AbjABLU3 (ORCPT ); Mon, 2 Jan 2023 06:20:29 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36F566360 for ; Mon, 2 Jan 2023 03:20:28 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 00283100008; Mon, 2 Jan 2023 11:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1672658426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dYSHMB3px/jIzZ5HFen7sFam2xnxq7pikzKYVodSq3I=; b=arMLhacMCERN07gJ4h8Jn5h+tcPOuaa42Z5egJCgu6quaZjj0eCSo+R41K9GO8dNjRdmA5 64GjjjbRnK+MMNs/+1PpFzTZA4Wdw9M7KiIxOop7LXlQVzRQdvnrweeu6Iq8lCyMTY0QYx OfT6LtFt7D9BtOvqXK63VVrnzwjBeqf4N1J+fMGvb3DdYjgUDrGu61EZ/raHERXv711C4l j2Y9ivSMFXbmbvJ0gOgCjmLk9jrvutwaV/bKNOulRONkyxntqNaQimAU7M9cYqoDYquJGw 0e0bdmShLnRUpB1oTxXinNfhlW65902JWaAIlTq1XbmJGpuDgY1ryBWadgGs7w== From: Miquel Raynal To: Samuel Holland , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Chen-Yu Tsai , Jernej Skrabec Cc: Boris Brezillon , Brian Norris , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH 1/7] mtd: rawnand: sunxi: Clean up chips after failed init Date: Mon, 2 Jan 2023 12:20:24 +0100 Message-Id: <20230102112024.250862-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221229181526.53766-2-samuel@sholland.org> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'6d7fea226b238b95d69faba49b8faf73d6e8c469' Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2022-12-29 at 18:15:20 UTC, Samuel Holland wrote: > If a chip fails to initialize, we need to clean up any chips that were > already initialized/registered. > > Fixes: 1fef62c1423b ("mtd: nand: add sunxi NAND flash controller support") > Signed-off-by: Samuel Holland Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel