commit | 00f17e4560da32db454c46faf1e8df4fe35cc226 | [log] [tgz] |
---|---|---|
author | Rob Clark <rob@ti.com> | Sun Dec 11 14:02:27 2011 -0600 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Mon Jan 02 08:51:26 2012 +0200 |
tree | be15778a94345ac75130f048abf000163355577b | |
parent | f806f9b6b8ec2c8b6a3297e684bcb80f54e3dc98 [diff] |
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 <rob@ti.com> [tomi.valkeinen@ti.com: added patch description] Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>