From: Andy Walls Date: Sun, 27 Mar 2011 23:19:15 +0000 (-0300) Subject: [media] cx18: Fix list BUG for IDX stream, triggerable in cx18_probe() error clean up, X-Git-Tag: v2.6.39-rc6~40^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f890ab1b51a5e59f078f046229825076d1e3c77;p=pandora-kernel.git [media] cx18: Fix list BUG for IDX stream, triggerable in cx18_probe() error clean up, If allocating stream buffers for one of the primary streams (e.g. YUV) failed during card probe, the error path clean up would try to manipulate the yet unitialized IDX stream structures. This caused a BUG due to unitialized list heads. Detect that case and ignore the uninitialized IDX stream. Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed