summaryrefslogtreecommitdiff
path: root/kernel/module.c
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2021-10-18 14:22:01 +0300
committerBartosz Golaszewski <brgl@bgdev.pl>2021-12-19 17:03:30 +0300
commit9a5875f14b0e3a13ae314883f1bb72b7f31fac07 (patch)
tree603d3a147e4a7e6b7d1a92d5e81506cc466e77fb /kernel/module.c
parentd6912b1251b47e6b04ea8c8881dfb35a6e7a3e29 (diff)
downloadlinux-9a5875f14b0e3a13ae314883f1bb72b7f31fac07.tar.xz
gpio: dln2: Fix interrupts when replugging the device
When replugging the device the following message shows up: gpio gpiochip2: (dln2): detected irqchip that is shared with multiple gpiochips: please fix the driver. This also has the effect that interrupts won't work. The same problem would also show up if multiple devices where plugged in. Fix this by allocating the irq_chip data structure per instance like other drivers do. I don't know when this problem appeared, but it is present in 5.10. Cc: <stable@vger.kernel.org> # 5.10+ Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions