From: Laurent Pinchart Date: Fri, 11 Nov 2011 14:22:20 +0000 (-0300) Subject: omap3isp: ccdc: Fix crash in HS/VS interrupt handler X-Git-Tag: v3.2.12~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc64836942762c64b155729921acb2841570d16e;p=pandora-kernel.git omap3isp: ccdc: Fix crash in HS/VS interrupt handler commit bd0f2e6da7ea9e225cb2dbd3229e25584b0e9538 upstream. The HS/VS interrupt handler needs to access the pipeline object. It erronously tries to get it from the CCDC output video node, which isn't necessarily included in the pipeline. This leads to a NULL pointer dereference. Fix the bug by getting the pipeline object from the CCDC subdev entity. Reported-by: Gary Thomas Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed