All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Joonyoung Shim <jy0922.shim@samsung.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org, broonie@linaro.org, tobetter@gmail.com
Subject: Re: [PATCH 2/2] USB: add reset resume quirk for usb3503
Date: Mon, 14 Jul 2014 13:57:54 +0200	[thread overview]
Message-ID: <53C3C5C2.1020300@samsung.com> (raw)
In-Reply-To: <1404969755-30555-2-git-send-email-jy0922.shim@samsung.com>

Hello,

On 2014-07-10 07:22, Joonyoung Shim wrote:
> The usb device will autoresume from choose_wakeup() if it is
> autosuspended with the wrong wakeup setting, but below errors occur
> because usb3503 misc driver will switch to standby mode when suspended.
>
> As add USB_QUIRK_RESET_RESUME, it can stop setting wrong wakeup from
> autosuspend_check().
>
> [    7.734717] usb 1-3: reset high-speed USB device number 3 using exynos-ehci
> [    7.854658] usb 1-3: device descriptor read/64, error -71
> [    8.079657] usb 1-3: device descriptor read/64, error -71
> [    8.294664] usb 1-3: reset high-speed USB device number 3 using exynos-ehci
> [    8.414658] usb 1-3: device descriptor read/64, error -71
> [    8.639657] usb 1-3: device descriptor read/64, error -71
> [    8.854667] usb 1-3: reset high-speed USB device number 3 using exynos-ehci
> [    9.264598] usb 1-3: device not accepting address 3, error -71
> [    9.374655] usb 1-3: reset high-speed USB device number 3 using exynos-ehci
> [    9.784601] usb 1-3: device not accepting address 3, error -71
> [    9.784838] usb usb1-port3: device 1-3 not suspended yet
>
> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>

Acked-by: Marek Szyprowski <m.szyprowski@samsung.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 739ee8e..2c9ba407 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -152,6 +152,9 @@ static const struct usb_device_id usb_quirk_list[] = {
>   	/* INTEL VALUE SSD */
>   	{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
>   
> +	/* USB3503 */
> +	{ USB_DEVICE(0x0424, 0x3503), .driver_info = USB_QUIRK_RESET_RESUME },
> +
>   	{ }  /* terminating entry must be last */
>   };
>   

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland


  reply	other threads:[~2014-07-14 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-10  5:22 [PATCH 1/2] usb: usb3503: add PM functions Joonyoung Shim
2014-07-10  5:22 ` [PATCH 2/2] USB: add reset resume quirk for usb3503 Joonyoung Shim
2014-07-14 11:57   ` Marek Szyprowski [this message]
2014-07-14 11:57 ` [PATCH 1/2] usb: usb3503: add PM functions Marek Szyprowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C3C5C2.1020300@samsung.com \
    --to=m.szyprowski@samsung.com \
    --cc=broonie@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jy0922.shim@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=tobetter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.