]> git.neil.brown.name Git - history.git/commit
[PATCH] USB: usb_epnum_to_ep_desc only look
authorDavid Brownell <david-b@pacbell.net>
Fri, 5 Sep 2003 09:23:05 +0000 (02:23 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 5 Sep 2003 09:23:05 +0000 (02:23 -0700)
commit13a791da9155f9039c3cf2b7eade867cf7445d7c
tree4cf0b7939d7f5599ad596441ca3aad872ffc5bd9
parent24467ec6c2fa857c332d4bfdd2c92f2507d16a86
[PATCH] USB: usb_epnum_to_ep_desc only look

Original patch from oliverthered@oliverthered.com ... this
updates it:

  - usb_epnum_to_ep_desc() only looks at the active altsetting
  - docs clarified

It's possible some user mode drivers will have relied on the
previous buggy behavior, since usbfs uses this call.  The fix
will be for them to set the appropriate altsetting.
drivers/usb/core/usb.c