Laurent Pinchart 06fb220b2d drm/omap: Don't dereference list head when the connectors list is empty
The connectors list iterator returns the list head when the list is
empty. Fix it by returning NULL in that case.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2014-03-31 11:06:51 -04:00
..
2013-08-19 10:36:16 +10:00
2014-01-29 09:37:47 +10:00
2014-01-29 09:37:47 +10:00
2014-01-29 09:37:47 +10:00
2013-08-19 10:33:39 +10:00