From: Stefan Hajnoczi Date: Sat, 10 Dec 2011 01:12:28 +0000 (+0100) Subject: staging: line6: fix playback urb transfer buffer calculation X-Git-Tag: v3.3-rc1~152^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f637ee42d4a60e1c3823beff3699354bd4400be;p=pandora-kernel.git staging: line6: fix playback urb transfer buffer calculation The playback urb transfer buffer calculation does not factor in LINE6_ISO_PACKETS. Buffer memory is organized like this in the driver: Buffer 0 Buffer 1 ... [Packet 0, Packet 1, ...][Packet 0, Packet 1, ...][Packet 0, ...] However, we're lucky that LINE6_ISO_PACKETS is currently defined as 1 so this patch does not change any behavior. It's still worth including this fix in case the LINE6_ISO_PACKETS value is changed in the future. Signed-off-by: Stefan Hajnoczi Signed-off-by: Markus Grabner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed