Skip to content

gpio: rockchip: Fix generic IRQ chip leak and modernize resource mapping

Marco Scardovi linux-arm-kernel linux-gpio linux-rockchip lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3gpio: rockchip: fix generic IRQ chip leak on removedrivers/gpio/gpio-rockchip.c+3 -10 replies
2/3gpio: rockchip: use devm_platform_ioremap_resource() to map registersdrivers/gpio/gpio-rockchip.c+2 -70 replies
3/3gpio: rockchip: use platform_get_irq() to retrieve interruptdrivers/gpio/gpio-rockchip.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] gpio: rockchip: Fix generic IRQ chip leak and modernize resource mapping

Hi all,

This series fixes a generic IRQ chip leak in the gpio-rockchip driver and performs two small cleanups to use standard platform device helper APIs.

Patch 1 fixes a leak caused by generic IRQ chips not being removed before IRQ domain teardown.

Patch 2 converts register mapping to use devm_platform_ioremap_resource().

Patch 3 converts interrupt retrieval to use platform_get_irq().

Marco Scardovi (3):
gpio: rockchip: fix generic IRQ chip leak on remove
gpio: rockchip: use devm_platform_ioremap_resource() to map registers
gpio: rockchip: use platform_get_irq() to retrieve interrupt

 drivers/gpio/gpio-rockchip.c | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
Signature · 1 line
2.54.0