2022-07-21 10:38:44

by Aidan MacDonald

[permalink] [raw]
Subject: [PATCH -next 0/2] ASoC: Cleanup deprecated regmap-irq functionality

Update two ASoC codec drivers to remove uses of regmap-irq type
registers, which have recently been deprecated by the "regmap-irq
cleanups and refactoring" series in linux-next.

Link: https://lore.kernel.org/lkml/[email protected]/

Aidan MacDonald (2):
sound: soc: codecs: wcd9335: Convert irq chip to config regs
sound: soc: codecs: wcd938x: Remove spurious type_base from irq chip

sound/soc/codecs/wcd9335.c | 10 ++++++++--
sound/soc/codecs/wcd938x.c | 1 -
2 files changed, 8 insertions(+), 3 deletions(-)


base-commit: 353f7988dd8413c47718f7ca79c030b6fb62cfe5
prerequisite-patch-id: a45db1cac7537769dc10087fc61f977dc150744c
prerequisite-patch-id: cb8aa009c7bb7a6575eb05e3af65342dc8d0efa3
prerequisite-patch-id: 8d32557e53b894d1fb17250d2d0eb3673f068d37
prerequisite-patch-id: 5b293867ef81e3697892ac51b941bb53680a70dc
prerequisite-patch-id: 8138d39a4817e804141bfe8c2ad37d9c55456a40
prerequisite-patch-id: b01216129e887519d441cf556bbc75c397871773
prerequisite-patch-id: b5dcf0c0609113c2d81bc557c1fc95ef23f40811
prerequisite-patch-id: 622ca1c10e851b1889aaa567c1d2a0adf43cca44
prerequisite-patch-id: d28c5187f9bf0e43f27b2f4aa8dcf7fd91842a03
prerequisite-patch-id: d29d54b756be73304f844abeeaf9b46a5c0119d5
prerequisite-patch-id: 5d405790ae89c0831b46a359f86e94bac5a67470
prerequisite-patch-id: c90120e79acbb52ffa148bfedee1df9d35b5eced
prerequisite-patch-id: 2e35247a5cfe5a28565c9272b85fc6835011b032
--
2.35.1


2022-07-21 10:46:15

by Aidan MacDonald

[permalink] [raw]
Subject: [PATCH -next 2/2] sound: soc: codecs: wcd938x: Remove spurious type_base from irq chip

There is no reason to set type_base here: the chip doesn't set
num_type_regs and none of the IRQs have type information so it's
not possible for regmap-irq to configure IRQ types.

Type registers are also deprecated in regmap-irq, so any IRQ type
support in the future should be implemented using config registers
instead.

Signed-off-by: Aidan MacDonald <[email protected]>
---
sound/soc/codecs/wcd938x.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c
index 781ae569be29..aca06a4026f3 100644
--- a/sound/soc/codecs/wcd938x.c
+++ b/sound/soc/codecs/wcd938x.c
@@ -1298,7 +1298,6 @@ static struct regmap_irq_chip wcd938x_regmap_irq_chip = {
.num_regs = 3,
.status_base = WCD938X_DIGITAL_INTR_STATUS_0,
.mask_base = WCD938X_DIGITAL_INTR_MASK_0,
- .type_base = WCD938X_DIGITAL_INTR_LEVEL_0,
.ack_base = WCD938X_DIGITAL_INTR_CLEAR_0,
.use_ack = 1,
.runtime_pm = true,
--
2.35.1

2022-07-21 11:38:15

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH -next 0/2] ASoC: Cleanup deprecated regmap-irq functionality

On Thu, Jul 21, 2022 at 11:25:56AM +0100, Aidan MacDonald wrote:
> Update two ASoC codec drivers to remove uses of regmap-irq type
> registers, which have recently been deprecated by the "regmap-irq
> cleanups and refactoring" series in linux-next.
>
> Link: https://lore.kernel.org/lkml/[email protected]/
>
> Aidan MacDonald (2):
> sound: soc: codecs: wcd9335: Convert irq chip to config regs
> sound: soc: codecs: wcd938x: Remove spurious type_base from irq chip

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.


Attachments:
(No filename) (854.00 B)
signature.asc (499.00 B)
Download all attachments

2022-08-28 21:14:30

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH -next 0/2] ASoC: Cleanup deprecated regmap-irq functionality

On Thu, 21 Jul 2022 11:25:56 +0100, Aidan MacDonald wrote:
> Update two ASoC codec drivers to remove uses of regmap-irq type
> registers, which have recently been deprecated by the "regmap-irq
> cleanups and refactoring" series in linux-next.
>
> Link: https://lore.kernel.org/lkml/[email protected]/
>
> Aidan MacDonald (2):
> sound: soc: codecs: wcd9335: Convert irq chip to config regs
> sound: soc: codecs: wcd938x: Remove spurious type_base from irq chip
>
> [...]

Applied to

broonie/sound.git for-next

Thanks!

[1/2] sound: soc: codecs: wcd9335: Convert irq chip to config regs
commit: 255a03bb1bb3b10d1c1ca785c596db84723f59d7
[2/2] sound: soc: codecs: wcd938x: Remove spurious type_base from irq chip
commit: de3287f177a5666409978a1a0331a33e2842d43b

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark