Message ID | 20221112151835.39059-5-aidanmacdonald.0x0@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1316920wru; Sat, 12 Nov 2022 07:21:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf6DX2jsPE4Xm2JmR3RLK5HinnGuvFJyuvMFXTejWoof1Xt9tbZapL4BIg8oLW88XfZeVp8x X-Received: by 2002:a05:6402:d64:b0:461:fe2b:3225 with SMTP id ec36-20020a0564020d6400b00461fe2b3225mr5724410edb.292.1668266461912; Sat, 12 Nov 2022 07:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668266461; cv=none; d=google.com; s=arc-20160816; b=lq0XZ6ZDyIYtUDAFfd9LI1MdI8IGVNwiGOCjq9jXvDaV0EcFDXjRziwqcicyugQGPX gkKnciZAE60oP01RRc7ljWgdsUPoHQ60KDw6S7UnKUhCUfC9WAPRosmuWidtumEbhjYf 3KOFfVLNAhOIw/Sj/wiwygbiwP3kQF0Ao3G3OAjLr9pkfw/9wR/Su3n2zWTpyk3/aNCc +I3bWJTedGUZW3jWDYO+ww5auKYfQphcaUqeHiwOxcJ2F1NCcvTMEW5Ij30GUGDGjfG4 1qMDbWQZzSeI3moKcWS/zITUqupJ5nsCjvZ0GXjEzNByl/x29TDSQzuNg9L4lI81j/Ur jG5w== 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=SyNGlKcyBDF0YXtdVE2Mo7IFCo+00jQ8YxUzSjoXa50=; b=NXLAvJGucDxHbzLyMhfdY+EomBI/7z95J5sKvUVjtQ1UlROLd433rE85qjBrWqVv6/ WMpuaLz2tWvZimHWsLACbGSc7vzvw1n8nqJkjC5jihhRNP6n0459fTADf+uo2ft0kFrS JWkgI7eDgRgV1VUMZWpGx+o9bEYzHICOii7tUdWhtAlM3VWgqgoxuOsRSOCxMTk5NpwC k/PVXO3Kvq1wYWzb2HwCZ2lEt+BBSuXf9/06s/zQCRW6IeLEA4rafBbiYxhRzeVw97ro EzidNuBtsl9Oe//FtukEII8nri/MPCt2lmutvDk/jhtyNdnQN0tVFVYrrEIGhs0wpvKG Zt+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="bb8Q/XHU"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb38-20020a170907162600b007ae670adb82si2993980ejc.902.2022.11.12.07.20.37; Sat, 12 Nov 2022 07:21:01 -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=@gmail.com header.s=20210112 header.b="bb8Q/XHU"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234996AbiKLPUK (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sat, 12 Nov 2022 10:20:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234888AbiKLPTn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 12 Nov 2022 10:19:43 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3832FAFD for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:41 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id p16so4520778wmc.3 for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SyNGlKcyBDF0YXtdVE2Mo7IFCo+00jQ8YxUzSjoXa50=; b=bb8Q/XHUIDCawlWjNkou8fyhAYQXwgoCWxuU2nSEBkYbxc11DdPvSJfIH4H9OT7Yzq G7taxhDewqonLeJPieV4nxA/eAMT1VL5uPvNHgnvZoZRnrl07bDXYySWDnx3CJtKtfhc c7WRNGwipiESSbwsKdnVpm+WRl7PmXWkjeJ1n/bfIzn1/So0onOpJuis1E4lW8cXf0Wi 0qEyQOe2qUhhHXi5y54DLwkW3Vwd1nyC491YlpyMxdWjUz9zNhVUjoDDPfXpRl4kpXY7 bajqLkBRLFMYAy2E9LzJ1AtRNAqvMEeneMKONHu40T1kqvMtUxubUnp9lNBOpZy0QWOU rJ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SyNGlKcyBDF0YXtdVE2Mo7IFCo+00jQ8YxUzSjoXa50=; b=FvdrgPE5KChDecXE69SZ67R5OKjY5D+NZPTvpf2wVVx6aFp46Hz9Bd0iYU61etGj0M wJpJoyGaDcgn84gEfgM1HLkVE8FVo32fcEJhSXRxP4FEGkMiP4lu1jiEXBz2JOvNCtmG n6qTBWlbSI4LjZcAzOhKKIZVYD+cVCWdl/enVc7FwgBJO59FCHGnLL79hTOvMIbEar4u LigT/XhN1BOTaOE9Z5wCvUnvwezVXXrqUOCmC8dNUsgTIjAuUohkdxLTR+62Su3n6aYv 85pzv+saRcrysV+71rRzOY93OWqeuE2EkDckYDd+vdMms/tiy2E6H6Q+bByJRbVnPI4d g67Q== X-Gm-Message-State: ANoB5pl+M4e8vdF41eZwT1lU7qzQPHYuB2sXyLd+aJts3zfSDDpZYevy CajUo9DhCONFJf1vjdvUrnU= X-Received: by 2002:a7b:cd0e:0:b0:3cf:ca45:3b19 with SMTP id f14-20020a7bcd0e000000b003cfca453b19mr3984095wmj.179.1668266380066; Sat, 12 Nov 2022 07:19:40 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id f7-20020adfe907000000b0023677081f3asm4543484wrm.42.2022.11.12.07.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:39 -0800 (PST) From: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> To: lee@kernel.org Cc: mani@kernel.org, cristian.ciocaltea@gmail.com, wens@csie.org, tharvey@gateworks.com, cw00.choi@samsung.com, krzysztof.kozlowski@linaro.org, brgl@bgdev.pl, mazziesaccount@gmail.com, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com, jernej.skrabec@gmail.com, samuel@sholland.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH 04/18] mfd: gateworks-gsc: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:21 +0000 Message-Id: <20221112151835.39059-5-aidanmacdonald.0x0@gmail.com> In-Reply-To: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com> References: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749304173874894166?= X-GMAIL-MSGID: =?utf-8?q?1749304173874894166?= |
Series |
mfd: Clean up deprecated regmap-irq functionality
|
|
Commit Message
Aidan MacDonald
Nov. 12, 2022, 3:18 p.m. UTC
Remove use of the deprecated mask_invert flag. Inverted mask
registers (where a '1' bit enables an IRQ) can be described more
directly as an unmask register.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
---
drivers/mfd/gateworks-gsc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Comments
On Sat, 12 Nov 2022, Aidan MacDonald wrote: > Remove use of the deprecated mask_invert flag. Inverted mask > registers (where a '1' bit enables an IRQ) can be described more > directly as an unmask register. > > Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> > --- > drivers/mfd/gateworks-gsc.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied, thanks.
diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c index 9d7d870c44a8..c954ed265de8 100644 --- a/drivers/mfd/gateworks-gsc.c +++ b/drivers/mfd/gateworks-gsc.c @@ -189,8 +189,7 @@ static const struct regmap_irq_chip gsc_irq_chip = { .num_irqs = ARRAY_SIZE(gsc_irqs), .num_regs = 1, .status_base = GSC_IRQ_STATUS, - .mask_base = GSC_IRQ_ENABLE, - .mask_invert = true, + .unmask_base = GSC_IRQ_ENABLE, .ack_base = GSC_IRQ_STATUS, .ack_invert = true, };