LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v1 1/1] usb: core: Add quirk for HP v222w 16GB Mini
@ 2018-04-13 17:40 sathyanarayanan.kuppuswamy
2018-04-14 8:35 ` Sergei Shtylyov
0 siblings, 1 reply; 3+ messages in thread
From: sathyanarayanan.kuppuswamy @ 2018-04-13 17:40 UTC (permalink / raw)
To: gregkh, mathias.nyman, heikki.krogerus, felipe.balbi
Cc: linux-usb, linux-kernel, sathyaosid, sathyanarayanan.kuppuswamy,
Kamil Lulko
From: Kamil Lulko <kamilx.lulko@intel.com>
Add DELAY_INIT quirk to fix the following problem with HP
v222w 16GB Mini:
usb 1-3: unable to read config index 0 descriptor/start: -110
usb 1-3: can't read configurations, error -110
usb 1-3: can't set config #1, error -110
Signed-off-by: Kamil Lulko <kamilx.lulko@intel.com>
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
---
drivers/usb/core/quirks.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 54b019e..f2ef913 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -40,6 +40,9 @@ static const struct usb_device_id usb_quirk_list[] = {
{ USB_DEVICE(0x03f0, 0x0701), .driver_info =
USB_QUIRK_STRING_FETCH_255 },
+ /* HP v222w 16GB Mini USB Drive */
+ { USB_DEVICE(0x03f0, 0x3f40), .driver_info = USB_QUIRK_DELAY_INIT },
+
/* Creative SB Audigy 2 NX */
{ USB_DEVICE(0x041e, 0x3020), .driver_info = USB_QUIRK_RESET_RESUME },
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] usb: core: Add quirk for HP v222w 16GB Mini
2018-04-13 17:40 [PATCH v1 1/1] usb: core: Add quirk for HP v222w 16GB Mini sathyanarayanan.kuppuswamy
@ 2018-04-14 8:35 ` Sergei Shtylyov
2018-04-16 17:58 ` sathyanarayanan kuppuswamy
0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2018-04-14 8:35 UTC (permalink / raw)
To: sathyanarayanan.kuppuswamy, gregkh, mathias.nyman,
heikki.krogerus, felipe.balbi
Cc: linux-usb, linux-kernel, sathyaosid, Kamil Lulko
Hello!
On 4/13/2018 8:40 PM, sathyanarayanan.kuppuswamy@linux.intel.com wrote:
> From: Kamil Lulko <kamilx.lulko@intel.com>
>
> Add DELAY_INIT quirk to fix the following problem with HP
> v222w 16GB Mini:
>
> usb 1-3: unable to read config index 0 descriptor/start: -110
> usb 1-3: can't read configurations, error -110
> usb 1-3: can't set config #1, error -110
>
> Signed-off-by: Kamil Lulko <kamilx.lulko@intel.com>
> Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
> ---
> drivers/usb/core/quirks.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
> index 54b019e..f2ef913 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -40,6 +40,9 @@ static const struct usb_device_id usb_quirk_list[] = {
> { USB_DEVICE(0x03f0, 0x0701), .driver_info =
> USB_QUIRK_STRING_FETCH_255 },
>
> + /* HP v222w 16GB Mini USB Drive */
> + { USB_DEVICE(0x03f0, 0x3f40), .driver_info = USB_QUIRK_DELAY_INIT },
> +
Please indent with tabs (as above and below), not spaces.
> /* Creative SB Audigy 2 NX */
> { USB_DEVICE(0x041e, 0x3020), .driver_info = USB_QUIRK_RESET_RESUME },
>
MBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] usb: core: Add quirk for HP v222w 16GB Mini
2018-04-14 8:35 ` Sergei Shtylyov
@ 2018-04-16 17:58 ` sathyanarayanan kuppuswamy
0 siblings, 0 replies; 3+ messages in thread
From: sathyanarayanan kuppuswamy @ 2018-04-16 17:58 UTC (permalink / raw)
To: Sergei Shtylyov, gregkh, mathias.nyman, heikki.krogerus, felipe.balbi
Cc: linux-usb, linux-kernel, sathyaosid, Kamil Lulko
Hi Segei,
On 04/14/2018 01:35 AM, Sergei Shtylyov wrote:
> Please indent with tabs (as above and below), not spaces.
Thanks for the comments. I will fix it in v2.
--
Sathyanarayanan Kuppuswamy
Linux kernel developer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-16 17:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13 17:40 [PATCH v1 1/1] usb: core: Add quirk for HP v222w 16GB Mini sathyanarayanan.kuppuswamy
2018-04-14 8:35 ` Sergei Shtylyov
2018-04-16 17:58 ` sathyanarayanan kuppuswamy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).