summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-10-11 17:28:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-12 01:40:26 +0200
commit91a99b5e78849db90dc2f5e8dfa034af43bdb760 (patch)
tree27af7c91347333591d6e47e043072400ea55f74b /drivers/usb/host/ehci-hcd.c
parentUSB: EHCI: change toggle only upon successful reset (diff)
downloadlinux-91a99b5e78849db90dc2f5e8dfa034af43bdb760.tar.xz
linux-91a99b5e78849db90dc2f5e8dfa034af43bdb760.zip
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-hcd.c')
0 files changed, 0 insertions, 0 deletions