Message ID | 20181123084219.30987-1-kai.heng.feng@canonical.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a84a1bcc992f0545a51d2e120b8ca2ef20e2ea97 |
Headers | show |
Series | USB: usb-storage: Add new IDs to ums-realtek | expand |
On Fri, 23 Nov 2018, Kai-Heng Feng wrote: > There are two new Realtek card readers require ums-realtek to work > correctly. > > Add the new IDs to support them. > > Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> > --- > drivers/usb/storage/unusual_realtek.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/usb/storage/unusual_realtek.h b/drivers/usb/storage/unusual_realtek.h > index d17cd95b55bb..6b2140f966ef 100644 > --- a/drivers/usb/storage/unusual_realtek.h > +++ b/drivers/usb/storage/unusual_realtek.h > @@ -27,4 +27,14 @@ UNUSUAL_DEV(0x0bda, 0x0159, 0x0000, 0x9999, > "USB Card Reader", > USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0), > > +UNUSUAL_DEV(0x0bda, 0x0177, 0x0000, 0x9999, > + "Realtek", > + "USB Card Reader", > + USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0), > + > +UNUSUAL_DEV(0x0bda, 0x0184, 0x0000, 0x9999, > + "Realtek", > + "USB Card Reader", > + USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0), > + > #endif /* defined(CONFIG_USB_STORAGE_REALTEK) || ... */ Acked-by: Alan Stern <stern@rowland.harvard.edu>
diff --git a/drivers/usb/storage/unusual_realtek.h b/drivers/usb/storage/unusual_realtek.h index d17cd95b55bb..6b2140f966ef 100644 --- a/drivers/usb/storage/unusual_realtek.h +++ b/drivers/usb/storage/unusual_realtek.h @@ -27,4 +27,14 @@ UNUSUAL_DEV(0x0bda, 0x0159, 0x0000, 0x9999, "USB Card Reader", USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0), +UNUSUAL_DEV(0x0bda, 0x0177, 0x0000, 0x9999, + "Realtek", + "USB Card Reader", + USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0), + +UNUSUAL_DEV(0x0bda, 0x0184, 0x0000, 0x9999, + "Realtek", + "USB Card Reader", + USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0), + #endif /* defined(CONFIG_USB_STORAGE_REALTEK) || ... */
There are two new Realtek card readers require ums-realtek to work correctly. Add the new IDs to support them. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> --- drivers/usb/storage/unusual_realtek.h | 10 ++++++++++ 1 file changed, 10 insertions(+)