From: Rob Clark Date: Sun, 11 Dec 2011 20:02:27 +0000 (-0600) Subject: OMAPDSS: fix potential NULL pointer ref in OCP_ERR handling path X-Git-Tag: v3.3-rc1~59^2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00f17e4560da32db454c46faf1e8df4fe35cc226;p=pandora-kernel.git OMAPDSS: fix potential NULL pointer ref in OCP_ERR handling path The dispc's error handler tries to disable all outputs when OCP_ERR happens. However, the code doesn't check if there actually is a display on each particular output, nor if there's a driver for the display. This may lead to NULL pointer reference. Signed-off-by: Rob Clark [tomi.valkeinen@ti.com: added patch description] Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed