All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Svoboda <msvoboda@ra.rockwell.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 1/5] usb gadget: update inode.c to support full speed only udc
Date: Thu, 25 May 2006 09:22:21 +0200	[thread overview]
Message-ID: <44755B2D.5050301@ra.rockwell.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

From: Milan Svoboda <msvoboda@ra.rockwell.com>

Add support for full speed only udc controllers.

This patch is against 2.6.16.13.

Please apply.

Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>
---




[-- Attachment #2: inode.c.patch --]
[-- Type: text/plain, Size: 451 bytes --]

--- orig/drivers/usb/gadget/inode.c	2006-05-15 10:21:34.000000000 +0000
+++ new_gadget/drivers/usb/gadget/inode.c	2006-05-15 11:04:40.000000000 +0000
@@ -1758,7 +1758,11 @@ static int gadgetfs_probe (struct usb_ga
 }
 
 static struct usb_gadget_driver probe_driver = {
+#ifdef	HIGHSPEED
 	.speed		= USB_SPEED_HIGH,
+#else
+	.speed		= USB_SPEED_FULL,
+#endif
 	.bind		= gadgetfs_probe,
 	.unbind		= gadgetfs_nop,
 	.setup		= (void *)gadgetfs_nop,






                 reply	other threads:[~2006-05-25  7:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=44755B2D.5050301@ra.rockwell.com \
    --to=msvoboda@ra.rockwell.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.