Thread (2 messages) flat view 2 messages, 2 authors, 2021-03-08

Re: [PATCH] [input]: hid-cp2112: fix multiple gpiochips

From: Jiri Kosina <jikos@kernel.org>
Date: 2021-03-08 13:57:14
Also in: linux-usb

On Sat, 9 Jan 2021, Douglas Gilbert wrote:
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>
Applied, thanks for the fix, and sorry for the delay.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help