diff options
author | Jay Fenlason <fenlason@redhat.com> | 2009-12-11 14:23:58 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-12-11 15:43:45 -0500 |
commit | 8c0c0cc2d9f4c523fde04bdfe41e4380dec8ee54 (patch) | |
tree | eeb3a432eab9e357b332366fe7719fa932e29b88 /drivers/usb/host/ehci-hub.c | |
parent | af0940dac37545b1e7900b19c464fb6367d3f82f (diff) |
firewire: ohci: handle receive packets with a data length of zero
Queueing to receive an ISO packet with a payload length of zero
silently does nothing in dualbuffer mode, and crashes the kernel in
packet-per-buffer mode. Return an error in dualbuffer mode, because
the DMA controller won't let us do what we want, and work correctly in
packet-per-buffer mode.
Signed-off-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
0 files changed, 0 insertions, 0 deletions