From patchwork Sat Nov 12 15:18:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aidan MacDonald X-Patchwork-Id: 19213 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1325174wru; Sat, 12 Nov 2022 07:44:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf544cX1Adn/J1dnwxuulDNtLOfP0S1mMaiIVxG9VWTWaQhFn90ljv2qnzekc6aqwQ3Dh3iv X-Received: by 2002:a17:907:6a15:b0:78d:f308:1cd with SMTP id rf21-20020a1709076a1500b0078df30801cdmr5359471ejc.754.1668267861486; Sat, 12 Nov 2022 07:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668267861; cv=none; d=google.com; s=arc-20160816; b=YBBkZETErOAUBxTVjtijE150r5uArHRzWBPOOTkWRpO+TSRo8tDVI4KgFaxCKIHeKn 51fq1vfSbPqLP/azjXx5f0AwrQYG1rB3Kih1IKd6B0bJ2afAocTQBb7X7fo3GFYRiNuW jbhFOlj/UeRTvm0gXORgc3nxhNsiHmctAT5zBPV7q9XyN1bwSQ3fy73bEZk2kOBYJgcp h6qTLejnu3wG18ph5lAtroyAgWRYsRSDIUt4xhvAXu+iWc4Ym6BGlamxpOzAmIOwnwi0 uzyAMQq6cjOGfcciuWOARpFKK3Dr2qnois/6ge7dO5ScTLW47j3GbHAlAbwYAYPS07C+ MChA== 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=T8JtmDVGUNZLueBXNVQdf6legj2BoWLl/9Iq8NNieS4=; b=foqT/peERR6eFx2qWLzKslPWrD/yu0cwDR8J7ZjxwBKtkg61zXBupL6m/e47IedxBm QSlRxpo/U+wUrLn3FOjpm1lc90e28OWcJLCxOi7aPc9moeZJ+qBU/Kf8XHLSWHTAtRLw vKpxq8edJAVkx5ECoWarwLbRpIQH4va8MydNzQFloVjxaYK0lY+a4dFHtZMVyQ+A7M8U LmJsQ9J7YO8dpMNqlqEWP8ZQG1wCVo34aheapZX1ZYDSYYLe1RJhnnaLdw2rmMcyuOfu y0MAhL1smogpIF5DAGkws+SO1z4puGtahwSAzz90mxneUoTRVMt21tAZDAUtCX5pfOOZ LFKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="KgVCH/IF"; 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 js15-20020a17090797cf00b007ae6869f9d9si5450094ejc.419.2022.11.12.07.43.57; Sat, 12 Nov 2022 07:44:21 -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="KgVCH/IF"; 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 S232659AbiKLPUz (ORCPT + 99 others); Sat, 12 Nov 2022 10:20:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235016AbiKLPUJ (ORCPT ); Sat, 12 Nov 2022 10:20:09 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD16F1B1C6 for ; Sat, 12 Nov 2022 07:19:54 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id l14so10067696wrw.2 for ; Sat, 12 Nov 2022 07:19:54 -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=T8JtmDVGUNZLueBXNVQdf6legj2BoWLl/9Iq8NNieS4=; b=KgVCH/IFzLTIzv2PmfoezQS90DP/PkehCN9B1h+H4iFdbdWIoTM/r7Cwa50poXtFWw NGobU9+5fCU93t7rWyMWBVeXP3BWGb4qVZXku5GvCOk8CbtvwNjcx7znBvqXHjZZCuYi mzyflMozHYpDKR+R2CMCtOyvlK/HLu6kYLbfm3MKtJOadtucpLfIdjb7pjU81gWgNLD9 ao6sjM22ue0h5CXip8Fs/1x/U3Zceh0J0m598S55uOJ+iMIhlHXZxNngz1rfNFU3FoVa FG1E9X+nZE89AU1VFg2MIojBWjLFwLgXY1jfRpe0KGf4JWDbghj/yF7kWMFERb9a957p +JlQ== 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=T8JtmDVGUNZLueBXNVQdf6legj2BoWLl/9Iq8NNieS4=; b=G3MlULvRL4jiwNuJ9mLt38f1lviDbCuzt3f/xxZ8+uSenlhqO+nmtBLYRYQ+WUvpX8 vE9qQlYt7tN0bBCBsyp+NOb5XMe+ALYb9Gopdu1AujBapabVlngn+3YZbdhtimHDQEZH xsVZEHRSYTF3F67svioK1UDLu53qnDrMgTxvpbgB9ToweftcfI5OFNUEiQut5r9jFREm eYYwzybE3V4mAPi26ZZCZn7M+9GkTIJDpEwaN4BsQhsVpwXaeDfyeP2uUz3a3+GL/ea3 Ln4H+y7RzAbyUsQxApED+desN1GVlemsxmrmtTOm3noVcQKyElLBfTdx2clXJ5tZf1Ex ExIg== X-Gm-Message-State: ANoB5pn3to82MbqvRwKbSN4PwOS1+byRLZpxBpsubg8ONenym6A2+Xj1 v0U3TNtjDsIN/KyHpqzxa2Y= X-Received: by 2002:adf:f5c5:0:b0:22e:597:8541 with SMTP id k5-20020adff5c5000000b0022e05978541mr3792906wrp.612.1668266393046; Sat, 12 Nov 2022 07:19:53 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id x11-20020a5d54cb000000b002415dd45320sm4584152wrv.112.2022.11.12.07.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:52 -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 17/18] mfd: tps65090: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:34 +0000 Message-Id: <20221112151835.39059-18-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?1749305640933372247?= X-GMAIL-MSGID: =?utf-8?q?1749305640933372247?= 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/tps65090.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c index bd6235308c6b..e474e1ca253a 100644 --- a/drivers/mfd/tps65090.c +++ b/drivers/mfd/tps65090.c @@ -127,8 +127,7 @@ static struct regmap_irq_chip tps65090_irq_chip = { .num_irqs = ARRAY_SIZE(tps65090_irqs), .num_regs = NUM_INT_REG, .status_base = TPS65090_REG_INTR_STS, - .mask_base = TPS65090_REG_INTR_MASK, - .mask_invert = true, + .unmask_base = TPS65090_REG_INTR_MASK, }; static bool is_volatile_reg(struct device *dev, unsigned int reg)