summaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2014-12-04 16:22:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-09 18:58:49 +0100
commitc401e7b4a808d50ab53ef45cb8d0b99b238bf2c9 (patch)
tree072dab0679ba3614ca32d0476d3e0b466cb07b71 /drivers/connector
parentUSB: EHCI: fix initialization bug in iso_stream_schedule() (diff)
downloadlinux-c401e7b4a808d50ab53ef45cb8d0b99b238bf2c9.tar.xz
linux-c401e7b4a808d50ab53ef45cb8d0b99b238bf2c9.zip
USB: EHCI: adjust error return code
The USB stack uses error code -ENOSPC to indicate that the periodic schedule is too full, with insufficient bandwidth to accommodate a new allocation. It uses -EFBIG to indicate that an isochronous transfer could not be linked into the schedule because it would exceed the number of isochronous packets the host controller driver can handle (generally because the new transfer would extend too far into the future). ehci-hcd uses the wrong error code at one point. This patch fixes it, along with a misleading comment and debugging message. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions