All of lore.kernel.org
 help / color / mirror / Atom feed
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 04/18] mfd: gateworks-gsc: Replace irqchip mask_invert with unmask_base
Date: Sat, 12 Nov 2022 15:18:21 +0000	[thread overview]
Message-ID: <20221112151835.39059-5-aidanmacdonald.0x0@gmail.com> (raw)
In-Reply-To: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com>

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/gateworks-gsc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c
index 9d7d870c44a8..c954ed265de8 100644
--- a/drivers/mfd/gateworks-gsc.c
+++ b/drivers/mfd/gateworks-gsc.c
@@ -189,8 +189,7 @@ static const struct regmap_irq_chip gsc_irq_chip = {
 	.num_irqs = ARRAY_SIZE(gsc_irqs),
 	.num_regs = 1,
 	.status_base = GSC_IRQ_STATUS,
-	.mask_base = GSC_IRQ_ENABLE,
-	.mask_invert = true,
+	.unmask_base = GSC_IRQ_ENABLE,
 	.ack_base = GSC_IRQ_STATUS,
 	.ack_invert = true,
 };
-- 
2.38.1


WARNING: multiple messages have this Message-ID (diff)
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 04/18] mfd: gateworks-gsc: Replace irqchip mask_invert with unmask_base
Date: Sat, 12 Nov 2022 15:18:21 +0000	[thread overview]
Message-ID: <20221112151835.39059-5-aidanmacdonald.0x0@gmail.com> (raw)
In-Reply-To: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com>

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/gateworks-gsc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c
index 9d7d870c44a8..c954ed265de8 100644
--- a/drivers/mfd/gateworks-gsc.c
+++ b/drivers/mfd/gateworks-gsc.c
@@ -189,8 +189,7 @@ static const struct regmap_irq_chip gsc_irq_chip = {
 	.num_irqs = ARRAY_SIZE(gsc_irqs),
 	.num_regs = 1,
 	.status_base = GSC_IRQ_STATUS,
-	.mask_base = GSC_IRQ_ENABLE,
-	.mask_invert = true,
+	.unmask_base = GSC_IRQ_ENABLE,
 	.ack_base = GSC_IRQ_STATUS,
 	.ack_invert = true,
 };
-- 
2.38.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-11-12 15:19 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12 15:18 [PATCH 00/18] mfd: Clean up deprecated regmap-irq functionality Aidan MacDonald
2022-11-12 15:18 ` Aidan MacDonald
2022-11-12 15:18 ` [PATCH 01/18] mfd: 88pm800: Replace irqchip mask_invert with unmask_base Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-16 17:32   ` Lee Jones
2022-11-16 17:32     ` Lee Jones
2022-11-12 15:18 ` [PATCH 02/18] mfd: atc260x: " Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-16 17:33   ` Lee Jones
2022-11-16 17:33     ` Lee Jones
2022-11-12 15:18 ` [PATCH 03/18] mfd: axp20x: " Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-13 18:42   ` Samuel Holland
2022-11-13 18:42     ` Samuel Holland
2022-11-16 17:33   ` Lee Jones
2022-11-16 17:33     ` Lee Jones
2022-11-12 15:18 ` Aidan MacDonald [this message]
2022-11-12 15:18   ` [PATCH 04/18] mfd: gateworks-gsc: " Aidan MacDonald
2022-11-16 17:34   ` Lee Jones
2022-11-16 17:34     ` Lee Jones
2022-11-12 15:18 ` [PATCH 05/18] mfd: max14577: " Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-14 10:21   ` Krzysztof Kozlowski
2022-11-14 10:21     ` Krzysztof Kozlowski
2022-11-14 13:34     ` Aidan MacDonald
2022-11-14 13:34       ` Aidan MacDonald
2022-11-14 14:02       ` Lee Jones
2022-11-14 14:02         ` Lee Jones
2022-11-16 17:34   ` Lee Jones
2022-11-16 17:34     ` Lee Jones
2022-11-12 15:18 ` [PATCH 06/18] mfd: max77650: Remove useless type_invert flag Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-14 12:24   ` Bartosz Golaszewski
2022-11-14 12:24     ` Bartosz Golaszewski
2022-11-16 17:54   ` Lee Jones
2022-11-16 17:54     ` Lee Jones
2022-11-12 15:18 ` [PATCH 07/18] mfd: max77693: Replace irqchip mask_invert with unmask_base Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-14 10:21   ` Krzysztof Kozlowski
2022-11-14 10:21     ` Krzysztof Kozlowski
2022-11-16 17:54   ` Lee Jones
2022-11-16 17:54     ` Lee Jones
2022-11-12 15:18 ` [PATCH 08/18] mfd: max77843: Drop useless mask_invert flag on irqchip Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-14 10:21   ` Krzysztof Kozlowski
2022-11-14 10:21     ` Krzysztof Kozlowski
2022-11-16 17:55   ` Lee Jones
2022-11-16 17:55     ` Lee Jones
2022-11-12 15:18 ` [PATCH 09/18] mfd: rn5t618: Replace irqchip mask_invert with unmask_base Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-16 17:56   ` Lee Jones
2022-11-16 17:56     ` Lee Jones
2022-11-12 15:18 ` [PATCH 10/18] mfd: rohm-bd71828: " Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-14  6:26   ` Matti Vaittinen
2022-11-14  6:26     ` Matti Vaittinen
2022-11-16 17:56   ` Lee Jones
2022-11-16 17:56     ` Lee Jones
2022-11-12 15:18 ` [PATCH 11/18] mfd: rohm-bd718x7: Drop useless mask_invert flag on irqchip Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-14  6:27   ` Matti Vaittinen
2022-11-14  6:27     ` Matti Vaittinen
2022-11-16 17:56   ` Lee Jones
2022-11-16 17:56     ` Lee Jones
2022-11-12 15:18 ` [PATCH 12/18] mfd: rt5033: Replace irqchip mask_invert with unmask_base Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-16 17:57   ` Lee Jones
2022-11-16 17:57     ` Lee Jones
2022-11-12 15:18 ` [PATCH 13/18] mfd: rt5120: " Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-16 17:57   ` Lee Jones
2022-11-16 17:57     ` Lee Jones
2022-11-12 15:18 ` [PATCH 14/18] mfd: sprd-sc27xx-spi: " Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-14  6:34   ` Baolin Wang
2022-11-14  6:34     ` Baolin Wang
2022-11-16 17:58   ` Lee Jones
2022-11-16 17:58     ` Lee Jones
2022-11-12 15:18 ` [PATCH 15/18] mfd: stpmic1: Fix swapped mask/unmask in irq chip Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-16 17:58   ` Lee Jones
2022-11-16 17:58     ` Lee Jones
2022-11-12 15:18 ` [PATCH 16/18] mfd: sun4i-gpadc: Replace irqchip mask_invert with unmask_base Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-13 18:47   ` Samuel Holland
2022-11-13 18:47     ` Samuel Holland
2022-11-16 17:59   ` Lee Jones
2022-11-16 17:59     ` Lee Jones
2022-11-12 15:18 ` [PATCH 17/18] mfd: tps65090: " Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-16 17:59   ` Lee Jones
2022-11-16 17:59     ` Lee Jones
2022-11-12 15:18 ` [PATCH 18/18] mfd: wcd934x: Convert irq chip to config regs Aidan MacDonald
2022-11-12 15:18   ` Aidan MacDonald
2022-11-12 15:31   ` Aidan MacDonald
2022-11-12 15:31     ` Aidan MacDonald
2022-11-16 18:00   ` Lee Jones
2022-11-16 18:00     ` Lee Jones
2022-11-15 10:17 ` [PATCH 00/18] mfd: Clean up deprecated regmap-irq functionality Matti Vaittinen
2022-11-15 10:17   ` Matti Vaittinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221112151835.39059-5-aidanmacdonald.0x0@gmail.com \
    --to=aidanmacdonald.0x0@gmail.com \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=brgl@bgdev.pl \
    --cc=cristian.ciocaltea@gmail.com \
    --cc=cw00.choi@samsung.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-actions@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=mani@kernel.org \
    --cc=mazziesaccount@gmail.com \
    --cc=orsonzhai@gmail.com \
    --cc=samuel@sholland.org \
    --cc=tharvey@gateworks.com \
    --cc=wens@csie.org \
    --cc=zhang.lyra@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.