usb: quirks: add quirk for WORLDE MINI MIDI keyboard
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 3 Oct 2017 08:16:43 +0000 (11:16 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 1 Jan 2018 20:50:59 +0000 (20:50 +0000)
commit30be5646aeab85f0e878ce3d0533b964c645b605
tree01fc80ac88094734f7e0f271e5418d339e4431c6
parent76eee06dea15a2182889985789c45c2854cbf35d
usb: quirks: add quirk for WORLDE MINI MIDI keyboard

commit 2811501e6d8f5747d08f8e25b9ecf472d0dc4c7d upstream.

This keyboard doesn't implement Get String descriptors properly even
though string indexes are valid. What happens is that when requesting
for the String descriptor, the device disconnects and
reconnects. Without this quirk, this loop will continue forever.

Cc: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Владимир Мартьянов <vilgeforce@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/core/quirks.c