From: Devin Heitmueller Date: Wed, 11 Mar 2009 06:01:02 +0000 (-0300) Subject: V4L/DVB (11079): au0828: fix panic on disconnect if analog initialization failed X-Git-Tag: v2.6.30-rc1~621^2~186 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eaf396020555973cad7aa5b517c2418eccbca50;p=pandora-kernel.git V4L/DVB (11079): au0828: fix panic on disconnect if analog initialization failed If the analog initialization failed to create the video device, we never actually add the entry to the au0828_devlist. Therefore a panic occurs when unregistering the analog subsystem. Make it so we only remove the entry from the list if we added it to the list in the first place. Signed-off-by: Devin Heitmueller Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed