Skip to content
Commit 57ff2df1 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mika Westerberg
Browse files

pinctrl: intel: Allocate IRQ chip dynamic



Keeping the IRQ chip definition static shares it with multiple instances of
the GPIO chip in the system. This is bad and now we get this warning from
GPIO library:

"detected irqchip that is shared with multiple gpiochips: please fix the driver."

Hence, move the IRQ chip definition from being driver static into the struct
intel_pinctrl. So a unique IRQ chip is used for each GPIO chip instance.

Fixes: ee1a6ca4 ("pinctrl: intel: Add Intel Broxton pin controller support")
Depends-on: 5ff56b01 ("pinctrl: intel: Disable GPIO pin interrupts in suspend")
Reported-by: default avatarFederico Ricchiuto <fed.ricchiuto@gmail.com>
Suggested-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 54ecb8f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment