diff options
author | Tatyana Brokhman <tlinder@codeaurora.org> | 2011-06-29 16:41:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-01 14:27:05 -0700 |
commit | 35a0e0bf6f6b2b900d461e9f35c286953b2b1afc (patch) | |
tree | b052f9d8c8bdcde4663d4e3a27c23541bf05b586 /drivers/usb/gadget/hid.c | |
parent | 9ea35331d052a5af1ba4e6244c52485f82587b60 (diff) | |
download | kernel_goldelico_gta04-35a0e0bf6f6b2b900d461e9f35c286953b2b1afc.zip kernel_goldelico_gta04-35a0e0bf6f6b2b900d461e9f35c286953b2b1afc.tar.gz kernel_goldelico_gta04-35a0e0bf6f6b2b900d461e9f35c286953b2b1afc.tar.bz2 |
usb: gadget: add max_speed to usb_composite_driver
This field is used by the Gadget drivers to specify
the maximum speed they support, meaning: the maximum
speed they can provide descriptors for.
The driver speed will be set in consideration of this
value.
[ balbi@ti.com : dropped the ifdeffery ]
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/hid.c')
-rw-r--r-- | drivers/usb/gadget/hid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/hid.c b/drivers/usb/gadget/hid.c index 2523e54..9fb5750 100644 --- a/drivers/usb/gadget/hid.c +++ b/drivers/usb/gadget/hid.c @@ -255,6 +255,7 @@ static struct usb_composite_driver hidg_driver = { .name = "g_hid", .dev = &device_desc, .strings = dev_strings, + .max_speed = USB_SPEED_HIGH, .unbind = __exit_p(hid_unbind), }; |