summary refs log tree commit diff
path: root/kernel/events
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-24 17:33:42 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-12-09 12:59:43 +0200
commit539d8bde72c22d760013bf81436d6bb94eb67aed (patch)
tree962bfdc4b1d20681d3d64268936d6756ab1571f4 /kernel/events
parentb9a19bdbc843abd659e8ec6b1b3c32ae3a2455eb (diff)
downloadlinux-539d8bde72c22d760013bf81436d6bb94eb67aed.tar.gz
pinctrl: baytrail: 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: 9f573b98ca50 ("pinctrl: baytrail: Update irq chip operations")
Depends-on: ca8a958e2acb ("pinctrl: baytrail: Pass irqchip when adding gpiochip")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions