mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: sangsu <sangsu@gmail.com>
Cc: linux-usb@vger.kernel.org, stern@rowland.harvard.edu,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH]USB:Fix goku_udc usb speed handling
Date: Mon, 5 Jan 2009 14:46:08 -0800	[thread overview]
Message-ID: <200901051446.09047.david-b@pacbell.net> (raw)
In-Reply-To: <20090101161114.GA7977@sangsu-desktop>

On Thursday 01 January 2009, sangsu wrote:
> The usb gadget framework revealed weakness in the godu_udc
> gadget driver register function. Instead of checking if 
> speed asked for was USB_LOW_SPEED upon usb_gadget_register()
> to deny service, it checked only for USB_FULL_SPEED, thus
> denying service to usb high speed capable gadgets.
> 
> Signed-off-by: SangSu Park<sangsu@gmail.com>

Acked-by: David Brownell <dbrownell@users.sourceforge.net>


Good to know this USB peripheral driver is getting some use.  :)


> ---
> drivers/usb/gadget/goku_udc.c |2+-
> 1 files changed, 1 insertion(+), 1 deletions(-)
> 
> 
> --- a/drivers/usb/gadget/goku_udc.c	2008-12-30 23:24:02.000000000 +0900
> +++ b/drivers/usb/gadget/goku_udc.c	2009-01-02 00:49:15.000000000 +0900
> @@ -1349,7 +1349,7 @@
>  	int			retval;
>  
>  	if (!driver
> -			|| driver->speed != USB_SPEED_FULL
> +			|| driver->speed < USB_SPEED_FULL
>  			|| !driver->bind
>  			|| !driver->disconnect
>  			|| !driver->setup)
> 
> 



      reply	other threads:[~2009-01-05 22:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 16:11 sangsu
2009-01-05 22:46 ` David Brownell [this message]

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=200901051446.09047.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sangsu@gmail.com \
    --cc=stern@rowland.harvard.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®