Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3579654rwb; Sat, 12 Nov 2022 08:18:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf5RYicYDIzht4mi+MXb60h0Jm3YTbTy3SOlXbX5orKc70DNbUO7E9eSioExsT5ki0jegn85 X-Received: by 2002:a17:906:b042:b0:7ae:98fe:5649 with SMTP id bj2-20020a170906b04200b007ae98fe5649mr5587053ejb.330.1668269904800; Sat, 12 Nov 2022 08:18:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668269904; cv=none; d=google.com; s=arc-20160816; b=h4t16t1hOhwFazrtwZ2v2YgGtLFJ3x7jdzvkhFMXhbFPvEW1d/+0oAFZCyhfO61w6P n1RGKlUZqWCYyaRH6vbcGn7CiDCJNPyCo16fDCAyi4tmXEvtRxG26Vl6vVjmbSXKkYBY T1vtxI3dEB85lPfv1a80kCN/w4vuv/psNIzvJvpNYKCNxkDy1Hrl1Ckseh/aCHLKeNqL lkb9SQYoEi2mY5og0A8vjy28U2l5VV0pVioK+P3RpZu1gfMtKb0iJreyrynx/bEIVnwL ttU5LCLjZbuYvf3eEMiqhZzfElZsNTMSgNbnWC5+dpDExoF1Lx+GrkMUJ/aw+mLFGMnf YjUg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m19-20020aa7c493000000b0046154f0f813si4919266edq.271.2022.11.12.08.18.02; Sat, 12 Nov 2022 08:18:24 -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 + 90 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 ); 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 ; Sat, 12 Nov 2022 07:19:50 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id j15so10073019wrq.3 for ; 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/mfd/rt5120.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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, -- 2.38.1