From: Murali Karicheri Date: Mon, 1 Mar 2010 22:54:02 +0000 (-0300) Subject: V4L/DVB: V4L: vpfe_capture - free ccdc_lock when memory allocation fails X-Git-Tag: v2.6.34-rc7~10^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab51bec1f852f6b858a26e745b32a79cd1a67eec;p=pandora-kernel.git V4L/DVB: V4L: vpfe_capture - free ccdc_lock when memory allocation fails This patch fixes a bug in vpfe_probe() that doesn't call mutex_unlock() if memory allocation for ccdc_cfg fails. See also the smatch warning report from Dan Carpenter that shows this as an issue. Signed-off-by: Murali Karicheri Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed