diff options
author | Archit Taneja <[email protected]> | 2013-03-26 19:15:18 +0530 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2013-04-11 13:25:48 +0300 |
commit | 581382e31090aa2459e8046e0bafb0f1daa2ecd8 (patch) | |
tree | 60a8f8182df1527c5c5621745f6ddc3c8b6d6abd /drivers/gpu/drm/omapdrm/omap_encoder.c | |
parent | 2c6360fb41e71d86ef2a870fd94c0fc9dcd9779e (diff) |
drm/omap: fix modeset_init if a panel doesn't satisfy omapdrm requirements
modeset_init iterates through all the registered omapdss devices and has some
initial checks to see if the panel has a driver and the required driver ops for
it to be usable by omapdrm.
The function bails out from modeset_init if a panel doesn't meet the
requirements, and stops the registration of the future panels and encoders which
come after it, that isn't the correct thing to do, we should go through the rest
of the panels. Replace the 'return's with 'continue's.
Signed-off-by: Archit Taneja <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_encoder.c')
0 files changed, 0 insertions, 0 deletions