From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AFDE7C4332F for ; Sat, 12 Nov 2022 15:34:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wprKYBm+L43OK92UyUjo1J9UXIVyNrrnf7QygGKaf28=; b=dWa1rzYv1/COvp BsF5lZi65TOfdAF8yQ00umy3lzilAzgoB1tk6m+LuaBMKnquKew9XONxhxp6rqTJvBFsd1K6qqYuE toIhWiXBRKKTIQr3d1Iwk+mNFxROeGgp58nHh4y4olOXgrGNMrugCFoAtBK0v80CNEmH5Yu0gjIvG /Ig1Ay9FDko2vGM1nJn0vMUdkZnhpQ6caA09PeXvuwu/jb8gUmlALKmjuRkSNij2AhLWvkEbXS5Cn XlatEdlh8WxdlaxPiUkLM7tmBBpoGEm+4JHjz3yL5pgYvcRv79WjZpAX4szVtYYgSYMVoLJOViHOJ oIklf7BiXMcyOqeks8yA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsVP-006Q7J-9S; Sat, 12 Nov 2022 15:33:16 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsIS-006KT4-AH; Sat, 12 Nov 2022 15:19:54 +0000 Received: by mail-wr1-x432.google.com with SMTP id k8so10076631wrh.1; Sat, 12 Nov 2022 07:19:49 -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=rX7cCKuVYb8T0bIdtXYMmu42sGmoqadgzkdHQD0y+QY=; b=eMyqe5Ay3U0wx77cQ/2gz16NxyYV5gWp8dMGPLYd9UsNDB518c0JqQ/QtTZpKnI31X IoAI34NvLVvN0KI1CfpoSXv6729k7RN2VeXlJL13E7LN/6svqM5aclRuyq//KTwFH2CD aS9bLX11utnhq6bBz61ASU9LGuLxhL9cDNEh6l0Yfu/03oaJ6wV6UYXq23xZ3kYBw6va a79VzdA/bVZ0+2iBTrrm9Sb2suzAVwbzMTup7FNFaDNuZTqIBI6mKHUarjKm/zbgJIBQ GxNlxqo0BmWEyZ/VrBOgGGrBVigZ730ESoor8AKfy9uZCGziypR5dRZXXOCS7P6LawR1 vTSQ== 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=rX7cCKuVYb8T0bIdtXYMmu42sGmoqadgzkdHQD0y+QY=; b=oE9tMHrWWIfKsiBzs5jRikc+Fj4hK0Yx1U9a8+6cjdCl6cVNMGuF/vtumOk2j8l7fv GzDnDIMgknlrumC9p/FHj0WfSbS1nNdpi9jgV/vFOL7x2VL/trMBTbSISq+z8lS/3yAq 2TUha+zmV4KYgxSQPjO1kWZZ1r10FAWlRYjitk+cUSPl20g8wHGj5kp290nOSKpP6xca Yn7o7MatO0mZ2ddjG3p2IhZbm3+jGEhBdKUgKIoyQBdH6+4Cv+AnmIc/om/1ojv5rvIE LwAPv+SWa3uXINW2m9M3pUBX3mM9/VnSW/8YVigz4VLCKiiFZNTYq79HYnjmvgPahZXu JMJw== X-Gm-Message-State: ANoB5pmOK5z1w1oKzKJuvIgQD4uLmPOMo+ztx4VI5xR4FeaEKN2RXpc8 6o7sDkSM4mmD3RfiZbF5enw= X-Google-Smtp-Source: AA0mqf6DGdBLmjCdoPNIF+QK2rhnA4Ir3Q2CgoggBEI6nhnn/MHKp3Dwjc6/isBGSN4KhmU5r3eSyg== X-Received: by 2002:adf:fd41:0:b0:236:6de4:27b6 with SMTP id h1-20020adffd41000000b002366de427b6mr3453371wrs.601.1668266388127; Sat, 12 Nov 2022 07:19:48 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id co19-20020a0560000a1300b0022e66749437sm4675867wrb.93.2022.11.12.07.19.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:47 -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 12/18] mfd: rt5033: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:29 +0000 Message-Id: <20221112151835.39059-13-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221112_071952_434912_FBA2AB5C X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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/rt5033.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/rt5033.c b/drivers/mfd/rt5033.c index f1236a9acf30..dc9bf4057a09 100644 --- a/drivers/mfd/rt5033.c +++ b/drivers/mfd/rt5033.c @@ -29,8 +29,7 @@ static const struct regmap_irq rt5033_irqs[] = { static const struct regmap_irq_chip rt5033_irq_chip = { .name = "rt5033", .status_base = RT5033_REG_PMIC_IRQ_STAT, - .mask_base = RT5033_REG_PMIC_IRQ_CTRL, - .mask_invert = true, + .unmask_base = RT5033_REG_PMIC_IRQ_CTRL, .num_regs = 1, .irqs = rt5033_irqs, .num_irqs = ARRAY_SIZE(rt5033_irqs), -- 2.38.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel