From: Jay Fenlason Date: Fri, 11 Dec 2009 19:23:58 +0000 (-0500) Subject: firewire: ohci: handle receive packets with a data length of zero X-Git-Tag: v2.6.27.42~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6ebd01ffd7b79678dfdda1d3b5653e8aea3eb41;p=pandora-kernel.git firewire: ohci: handle receive packets with a data length of zero commit 8c0c0cc2d9f4c523fde04bdfe41e4380dec8ee54 upstream. 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 Signed-off-by: Stefan Richter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed