diff options
| author | 2019-01-09 11:11:24 +0200 | |
|---|---|---|
| committer | 2019-01-23 17:24:01 +0100 | |
| commit | 2486e67374aa8b7854c2de32869642c2873b3d53 (patch) | |
| tree | 8380ce7519e1adb4b31a58aef5ef4aedd268db7b /include/linux | |
| parent | Linux 5.0-rc3 (diff) | |
gpio: pcf857x: Fix interrupts on multiple instances
When multiple instances of pcf857x chips are present, a fix up
message [1] is printed during the probe of the 2nd and later
instances.
The issue is that the driver is using the same irq_chip data
structure between multiple instances.
Fix this by allocating the irq_chip data structure per instance.
[1] fix up message addressed by this patch
[ 1.212100] gpio gpiochip9: (pcf8575): detected irqchip that is shared with multiple gpiochips: please fix the driver.
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
