summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-dbg.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-10-11 19:28:52 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-12 03:40:26 +0400
commit91a99b5e78849db90dc2f5e8dfa034af43bdb760 (patch)
tree27af7c91347333591d6e47e043072400ea55f74b /drivers/usb/host/ehci-dbg.c
parent27c4a31d6739095d613c6e72fb44867bc28c699f (diff)
downloadlinux-91a99b5e78849db90dc2f5e8dfa034af43bdb760.tar.xz
USB: EHCI: use consistent NO_FRAME value
ehci-hcd is inconsistent in the sentinel values it uses to indicate that no frame number has been assigned for a periodic transfer. Some places it uses NO_FRAME (defined as 65535), other places it uses -1, and elsewhere it uses 9999. This patch defines a value for NO_FRAME which can fit in a 16-bit signed integer, and changes the code to use it everywhere. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-dbg.c')
0 files changed, 0 insertions, 0 deletions