From: Devin Heitmueller Date: Thu, 15 Oct 2009 04:14:34 +0000 (-0300) Subject: V4L/DVB (13190): em28xx: fix panic that can occur when starting audio streaming X-Git-Tag: v2.6.27.40~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c62be1f9f89d3f60408ab55728237f37911e08;p=pandora-kernel.git V4L/DVB (13190): em28xx: fix panic that can occur when starting audio streaming commit 96fbf771d86a90ff006bc62ca4d4de6474b3de31 upstream. Because the counters were not reset when starting up streaming, they would be reused from the previous run. This can result in cases such that when the second instance of streaming starts up, the "cnt" variable in em28xx_audio_isocirq() can end up being negative, resulting in attempting to write to memory before the start of runtime->dma_area (as well as having a negative number of bytes to copy). Signed-off-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Michael Krufky Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed