From patchwork Sat Nov 12 15:18:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aidan MacDonald X-Patchwork-Id: 19207 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1320013wru; Sat, 12 Nov 2022 07:30:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ea//X9mBmWZaAorCvSWS+EOyHlYRjG9GjhmN6LElsJS3Gc0hvPUcsrdWvrEHD/oVSDCvo X-Received: by 2002:a62:6484:0:b0:56b:b838:a4de with SMTP id y126-20020a626484000000b0056bb838a4demr7212238pfb.73.1668267010865; Sat, 12 Nov 2022 07:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668267010; cv=none; d=google.com; s=arc-20160816; b=rxUMMQQ8hpsEsHB5kyMAR+y3W7PkvGnna4xTH+1aK+8fYCn4gWREWjf8DDWILL4yyU 5WZILXPKcHQpvziu/6c/a2lbHWLk6jOVxEbgehUw5s03SlD5LC088+TDIiNz+ugPQZEQ V7hsyKAi5NwGieM0iL42C/k64X6VIo0xHwYetUJMR6jRU+R56BjUQJ2tlVmzdW2Yosmo 6JibblZ6+QeybK7/DLk69WxMF8Lg2CAxk4+CU8vXJtvu/phCNmV7GNstoPUh4P2upSc6 IDF6rbESRZbD/x+IhQYkQjvvHce8Iez83pnE+j7WWTfZQ06aQajzGx2BPvJGxJYiAjXN 2LUg== 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=9vv/3HAucSDWmO8xwnh5HST4ssDGqCVQOTNcS90+6lU=; b=r63a6a+r7oO7YMhEpgKzUmIjoPWUkT/GZsoqNKkWzX31N2kZ5MO4OLCLKluS2Lb+HM N66AOcHHwslcc+6QkgoDfHgkpg7urUu5LrP7nWO9v0qOYepoo2W5pY1mGA+Tk1Q/7R98 lQ6Ng7O0bbAbT7+GTk66Or1kuWXJAxTwoZg+3X9Ny3UZ5ucXJANDpZY1UKIwsHEQJuup u25QKaI6ZprsZlJm/pRd0j6YBxhboQTFZNRtBMNTmkdpIKAGQCrKjdorvNb8TvGXwbNF ecDW8ODZfuHB8QYqjVtGHoZ2+AliSUB4ez1Tr4G1nTOdwzZTo7doK2TLlz3gU0Bs39rL 1W2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jpc9tN4K; 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 y18-20020a170902ed5200b0017e4b8a8289si4954152plb.605.2022.11.12.07.29.57; Sat, 12 Nov 2022 07:30:10 -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=jpc9tN4K; 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 S235010AbiKLPUw (ORCPT + 99 others); Sat, 12 Nov 2022 10:20:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234960AbiKLPUD (ORCPT ); Sat, 12 Nov 2022 10:20:03 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A47061AD92 for ; Sat, 12 Nov 2022 07:19:52 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id o4so10060938wrq.6 for ; Sat, 12 Nov 2022 07:19:52 -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=9vv/3HAucSDWmO8xwnh5HST4ssDGqCVQOTNcS90+6lU=; b=jpc9tN4KxBsfE2iBF/Kx5UM/PYB3RbWC0UUz8Pk77cr5NPWSGRNhLeCxpFdjsx6q0O o6n/eE8O5Whvr3WT+nUgB11/duZcUld4r/ERwLQLRKqmjHhEMP/znOH3x9ZRZ+3Sadyd DC09KWR7sCa7JNG+1duiRePnGOp4KbHUUVn4J+ttGNAODo2Cx3fOjbUSRBTBOGLu2Ym8 6CWoYnn2kIsKd8U3/Yc60PH/zfe8I37piGYwWMbdm4FHS8y3D1z4gTKp9XShRQ211dEV QdEhxpfjBzjvu01ECYnHIZutt3SX38/KsAtylLD7FF2JiSlOOE1JEWLkiyMP1Z7JA/tC pL3w== 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=9vv/3HAucSDWmO8xwnh5HST4ssDGqCVQOTNcS90+6lU=; b=f7rSwKIz7jGttS93yI62beoUqNdFex6CUuSlnZ/NYg77Ns5389fIXBltD2XynIsrmQ SKRvFJnhOokqWFm5ExPKXfR1i8xQsr5wPbBy2Vr9K0hp7iO55uodzxVujMjM3BIrUzb0 q2ntYgzA8mGTPw3BD2B1NsbKcHSY592VDWMjU81Fc38sumClz++QSsfFSJ4x9nifzpn+ Zi0J6nNspki7Q7u5gcQBNWH+JrHOHPewCMHGXCmQjHjCCUwIYqdHb3Im0kfcsYReBaBX 7qBf8k7YJRzjCPz/JZuupT2WsfajhMNl9MOHuxe1o1lf/BkpaP639yHDvMAmWxP4EG4c C9BA== X-Gm-Message-State: ANoB5pnmlZDeaX3HvNRowxEKEs9rLnmWQjNeGi28EkrsDovpOBNqMx4R GtftFKUQlVD7Kod2XRadH3s= X-Received: by 2002:a05:6000:511:b0:236:64ce:2c0a with SMTP id a17-20020a056000051100b0023664ce2c0amr3671606wrf.230.1668266392072; Sat, 12 Nov 2022 07:19:52 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id h5-20020a1ccc05000000b003cf7292c553sm6509053wmb.13.2022.11.12.07.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:51 -0800 (PST) From: Aidan MacDonald 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 16/18] mfd: sun4i-gpadc: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:33 +0000 Message-Id: <20221112151835.39059-17-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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749304749206847798?= X-GMAIL-MSGID: =?utf-8?q?1749304749206847798?= 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 Reviewed-by: Samuel Holland --- drivers/mfd/sun4i-gpadc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/sun4i-gpadc.c b/drivers/mfd/sun4i-gpadc.c index cfe14d9bf6dc..edc180d83a4b 100644 --- a/drivers/mfd/sun4i-gpadc.c +++ b/drivers/mfd/sun4i-gpadc.c @@ -34,9 +34,8 @@ static const struct regmap_irq_chip sun4i_gpadc_regmap_irq_chip = { .name = "sun4i_gpadc_irq_chip", .status_base = SUN4I_GPADC_INT_FIFOS, .ack_base = SUN4I_GPADC_INT_FIFOS, - .mask_base = SUN4I_GPADC_INT_FIFOC, + .unmask_base = SUN4I_GPADC_INT_FIFOC, .init_ack_masked = true, - .mask_invert = true, .irqs = sun4i_gpadc_regmap_irq, .num_irqs = ARRAY_SIZE(sun4i_gpadc_regmap_irq), .num_regs = 1,