Message ID | 20221112151835.39059-14-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 l7csp1324152wru; Sat, 12 Nov 2022 07:41:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6eirnOcBbiZulAC0VxSNhUDLVTttuDUys6qWIztFrDX11nGyMVlIM2khuInQiMKHJGm2vY X-Received: by 2002:a05:6a00:ac3:b0:562:69d4:f9f3 with SMTP id c3-20020a056a000ac300b0056269d4f9f3mr7487987pfl.5.1668267713673; Sat, 12 Nov 2022 07:41:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668267713; cv=none; d=google.com; s=arc-20160816; b=Oc3JdA1qVWDqSrLh3LP/aYFwF7H/5h0QQ2VGcuyGcPlol0zvEWcCwRQmCLsDcmM8gk kYlRdyiqyrLqxBITN/sgnKoP9XGjI1tSPzKOSzTeLxpMbLN38gWiI2YaHU0rDElzJMsy NAbpAnpvKKRur6cqq4Epa4c6zIFwGkezI8AeBAVvu+QJRal2m772Iv+rEQivxRbDy38z a0SLYGLEbqo1C8ry0PPCxKAQ9PD5G8Z+QL2jmXlgyjhFNko3QtKlVHKxOeUqUa80a1ip 3eruuY0A2T3tmBuaWFogr1NGe+VE5fP5D1kCynyBYm4hZ8W36sMDRSu8fW2P8oO9kAvY REJg== 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=74Exg7KddVXNG5OACBQCL3D7rKH5H5jEWAAQZrjSUes=; b=I1+1ZWDl0Oi6kEZ6xu7h4DeAWES1hMJCKQBPT609i5r+TX5cEoHKOnLX6cYpFHovjh RG2aawE2MBgAiO0VP68T4rtv2VFs7rls/B+TqTJacB7a0k4JRplCHyyADMBKgA9emlrO L+ByG4YJLXPndV/WDeHOQXzUI1GVW3MQqd4iA0bVlh3y6mQaP3G6c7nljbedN39FEtEu PB7xviXLzOiSw0i+nzc/Y5JvejHwGzcsGr7AY8BzenBmYkglLZHT5XBy8L73w1XMkZim 26F6B8mi01Rzd3M3TXq1K1EMUBJS396sJj5+vwx3GsK3eM6QoZaqvaq7tIm7xKuYoXZ4 RGnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MEr0VMdo; 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 g7-20020a655807000000b00462f77bcd1esi5499644pgr.90.2022.11.12.07.41.41; Sat, 12 Nov 2022 07:41:53 -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=MEr0VMdo; 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 S235101AbiKLPUq (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sat, 12 Nov 2022 10:20:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234989AbiKLPUD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 12 Nov 2022 10:20:03 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AD991A829 for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:50 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id j15so10073019wrq.3 for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:50 -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=74Exg7KddVXNG5OACBQCL3D7rKH5H5jEWAAQZrjSUes=; b=MEr0VMdo6LgqF2/UDeLPFeAhgBlaXGqOPj834RwpMRcd4AsPgXmzqVuVXdR0ccUDPl FEyfsOVcNhLCQ94HNdDVIzgPzDR72MpKXekWEDea1c0vAE18hqsjV7Df+U/O5ksph6/q aRVnA8FBfLy/Fb6RMKO0PbNVSINKQjS8lVK9z0nfKGA6T04oQO3XsKS+wu92U0IBMHSh inBINSnDaMEXhk6Zv9qmFq/D5M1hqjavWXbApmGAUH4eIw1HaVONH0venv5/3mSvlwox UTbCtTDgH3uIxUPK29RAsUmColKnkj6TXrSAJbAGZx3tM0riILitMyTNpNruXR2opl+7 iBMQ== 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=74Exg7KddVXNG5OACBQCL3D7rKH5H5jEWAAQZrjSUes=; b=czROQByPbTB10Ma3JfoyoCSzKznKbw+q+9VPoFavzemFHccL64AHZ+eCzLLre+XcQu NC2A7UwVkGYSE+Ry/7xnweDmpAgIEHfVJBZMvBczns7KCyM2cfGHUZ+0wNwIjaydI22p xgX5tXTCcWz1Bgt7IQozBNwo6sijN3RieY/x9HrZuGsALB0rVGtACi3IRh8agMTjs60F qfQq7646QtehGmnVZUKwXXIhGWMLVYzMToK3kh/doGVu8Q6Wdbji/023tM0kk85FYo8e dZsW+7DRSQoyxJp7WFsB6dgcltWSwcCqkdJ4o/pBLI2pW0M/Tn2tLiH6wNjjrhp3DzCM GKag== X-Gm-Message-State: ANoB5plATGvrb27odY5qqElzt8znR6gIuM5GpJdCYDZO8xM+LSdHpXNw o4ycvyixPW5/0D4umGeHSzw= X-Received: by 2002:adf:f14a:0:b0:22e:3c66:bda1 with SMTP id y10-20020adff14a000000b0022e3c66bda1mr3740739wro.139.1668266389050; Sat, 12 Nov 2022 07:19:49 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id h11-20020a05600c314b00b003b4fe03c881sm13404048wmo.48.2022.11.12.07.19.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:48 -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 13/18] mfd: rt5120: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:30 +0000 Message-Id: <20221112151835.39059-14-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?1749305486457016841?= X-GMAIL-MSGID: =?utf-8?q?1749305486457016841?= |
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/rt5120.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/rt5120.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied, thanks.
diff --git a/drivers/mfd/rt5120.c b/drivers/mfd/rt5120.c index 8046e383bc92..829b7a0a0781 100644 --- a/drivers/mfd/rt5120.c +++ b/drivers/mfd/rt5120.c @@ -59,9 +59,8 @@ static const struct regmap_irq rt5120_irqs[] = { static const struct regmap_irq_chip rt5120_irq_chip = { .name = "rt5120-pmic", .status_base = RT5120_REG_INTSTAT, - .mask_base = RT5120_REG_INTENABLE, + .unmask_base = RT5120_REG_INTENABLE, .ack_base = RT5120_REG_INTSTAT, - .mask_invert = true, .use_ack = true, .num_regs = 1, .irqs = rt5120_irqs,