diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2021-01-09 17:36:58 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-03-08 14:55:31 +0100 |
commit | 2a2b09c867fdac63f430a45051e7bd0c46edc381 (patch) | |
tree | f62e8fb9062de01c21b4400588d1e7d8e7af4e8c /drivers/hid/hid-cougar.c | |
parent | fa8ba6e5dc0e78e409e503ddcfceef5dd96527f4 (diff) |
HID cp2112: fix support for multiple gpiochips
In lk 5.11.0-rc2 connecting a USB based Silicon Labs HID to I2C
bridge evaluation board (CP2112EK) causes this warning:
gpio gpiochip0: (cp2112_gpio): detected irqchip that is shared
with multiple gpiochips: please fix the driver
Simply copy what other gpio related drivers do to fix this
particular warning: replicate the struct irq_chip object in each
device instance rather than have a static object which makes that
object (incorrectly) shared by each device.
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-cougar.c')
0 files changed, 0 insertions, 0 deletions