[PATCH] USB: UHCI: change uhci_explen macro
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 30 Nov 2005 16:57:51 +0000 (11:57 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:41 +0000 (13:51 -0800)
commitfa3465689f93331834a831bbe98e3863701e1068
treef8b1186d7ef49289817d54e35cb7cca82fcc3613
parentf0b80fbf294bc4f6ec179b09fd5b63df25188259
[PATCH] USB: UHCI: change uhci_explen macro

This patch (as616) changed the uhci_explen macro in uhci-hcd.h so that
it now accepts the desired length, rather than length - 1 with special
handling for 0.  This also fixes a minor bug that would show up only
when a driver submits a 0-length bulk URB.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h
drivers/usb/host/uhci-q.c