Skip to content

Commit 7bb97e3

Browse files
jhovoldlinusw
authored andcommitted
pinctrl: at91-pio4: fix domain name assignment
Since commit d59f661 ("genirq: Allow fwnode to carry name information only") an IRQ domain is always given a name during allocation (e.g. used for the debugfs entry). Drop the no longer valid name assignment, which would lead to an attempt to free a string constant when removing the domain on late probe failures (e.g. probe deferral). Fixes: d59f661 ("genirq: Allow fwnode to carry name information only") Cc: [email protected] # 4.13 Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Tested-by: Claudiu Beznea <[email protected]> # on SAMA7G5 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 6de67ca commit 7bb97e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/pinctrl/pinctrl-at91-pio4.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,6 @@ static int atmel_pinctrl_probe(struct platform_device *pdev)
12061206
dev_err(dev, "can't add the irq domain\n");
12071207
return -ENODEV;
12081208
}
1209-
atmel_pioctrl->irq_domain->name = "atmel gpio";
12101209

12111210
for (i = 0; i < atmel_pioctrl->npins; i++) {
12121211
int irq = irq_create_mapping(atmel_pioctrl->irq_domain, i);

0 commit comments

Comments
 (0)