Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1249448rdb; Fri, 1 Dec 2023 10:38:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTinVUuOMoSJSXgMMnrdmH+cSRuMC650EXpo48lviJWdo3GYSB4FGl4Y9KzEgkfbmPTOvU X-Received: by 2002:a17:903:184:b0:1cf:bd98:633f with SMTP id z4-20020a170903018400b001cfbd98633fmr28947965plg.30.1701455933384; Fri, 01 Dec 2023 10:38:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701455933; cv=none; d=google.com; s=arc-20160816; b=ALc9zmSDjE4S12qmnQtDMQXtiTNbRlXjik2kBlivCBwiOaLOgPgIqZlqwbqKg+ojwG yu1Z9nSh/uWKv5QlK3yQBSYHCwMgQKL5/8M3Qbb2l0FfI69NzRTYhjDJqvLIvrQOQ3fJ 59ZjQbir0ziW7WVOVRsBTxYeQeTNynxrLMXo3sdDtz66t9nn4XuxAGUTH0kU8dzElNLl qFusFOWb955V1dt0BKnD7XGS+qb6AcaDNq5bk3Y232TVWGAmtrtxo2Vvh6JWK5jJ/yEY 89Ln34Hd6R9gCdTSVtWPYtf3Z6twDu4Tyv8+JAL0H8cLKEC2b6cdId+qAvU38ynuFvyG nrcw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=khNh8Srfl3jkaod3iRrCE0AsfGLKCeMq0bdJw1kqXyQ=; fh=vEGAcJFz6f0XLn1r8zYydPI5VC58ebnqFIn8ZilTCUE=; b=fSKx6CUDlGFYrPhJwu1G2MaWzCANGTtgMABWrDtmv+vDJ26jSChcT3k43bmTFuaatj b2ynaQb30YFDTUIr4IPtxgoVjyz65curAbKQsmPkult1tJzqdy4Y34EkbuJpUnbfdBZC C1CBiPU0OhBIxkQyuo3xSA5hWfTHfq0MEZ2LqtNS+GLm9KyYzauMpngXvsc30oB1W1+8 98ieQWrZICzietVL0/bv0nRN/zaKneL8rG6eiGqKnzcfGHyxERBSGDGTJKt1NS4kzMGn IuHOOhnhdbOVj+6TcyclNWM4aSAActiVspOsafWTOJaXhkNi5IADbbICfWO0i5k+cREu kFRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KnJJWZpm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b3-20020a170903228300b001cfb1e21bcdsi3832726plh.539.2023.12.01.10.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 10:38:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KnJJWZpm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E696F82A397E; Fri, 1 Dec 2023 10:38:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbjLASif (ORCPT + 99 others); Fri, 1 Dec 2023 13:38:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjLASie (ORCPT ); Fri, 1 Dec 2023 13:38:34 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF5C0EE; Fri, 1 Dec 2023 10:38:40 -0800 (PST) Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by madras.collabora.co.uk (Postfix) with ESMTPSA id 1B4E0660739A; Fri, 1 Dec 2023 18:38:38 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701455918; bh=nshdBGarWc9GZ7/hAoBX4o9Dx3BkRnL4SICEx41+/Ys=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KnJJWZpmHLwkB+keOQZvI7md6rHIRpT6G5/imUC16l0vH+mS6lXkgAM9TdbmMiXw8 YsCvTpgsZnoWe53/HWWYUZcQBRJKopfp5lsvPV9pjqdSmkisasku0LQCeRj0XBEACA kR3KXuoTTxDNyoqwqYBplTPnxT54+D697KNDLiFt7qq2SsXjzxFGuh75ct0C4qQ4Ub YdttgPdNA90ZTkM83B8v6WT+4MbLoEV/5Z+qUL+9WP5AsvRyQftY/WGPTaWPwZbIVz cjslp+LDvct0vf5ilw5LA6luiAoP1DCtYhF+MMNueZ3GPd8/wtyAVKy6hqkgbOfwrH Tje10/yajjCIQ== Date: Fri, 1 Dec 2023 19:38:34 +0100 From: Boris Brezillon To: dregan Cc: Miquel Raynal , Stephen Rothwell , Boris Brezillon , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Linux Next Mailing List Subject: Re: [PATCH 1/1] mtd: rawnand: Add deassert_wp comment Message-ID: <20231201193834.5da80273@collabora.com> In-Reply-To: <20231201181542.421077-1-dregan@broadcom.com> References: <20231201181542.421077-1-dregan@broadcom.com> Organization: Collabora X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 10:38:51 -0800 (PST) On Fri, 1 Dec 2023 10:15:42 -0800 dregan wrote: > From: Boris Brezillon I'm pretty sure I shouldn't be the author. The original patch might have been partly written by me, but this is a fixup on top of it. > > Add deassert_wp description comment > > Signed-off-by: Boris Brezillon and you should drop my SoB too. > Signed-off-by: David Regan > --- > include/linux/mtd/rawnand.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h > index fcad94aa0515..3049b05d8a20 100644 > --- a/include/linux/mtd/rawnand.h > +++ b/include/linux/mtd/rawnand.h > @@ -1001,6 +1001,8 @@ struct nand_op_parser { > /** > * struct nand_operation - NAND operation descriptor > * @cs: the CS line to select for this NAND operation > + * @deassert_wp: set to true when the operation requires the WP pin to be > + * de-asserted (ERASE, PROG, ...) > * @instrs: array of instructions to execute > * @ninstrs: length of the @instrs array > *