summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/dss/rfbi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-05 09:34:51 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-03 17:38:22 +0200
commitf1504ad00daeeb301936f8695be28edb61613b76 (patch)
tree34605c9e519745f9d392b20d01b4829363c66dc7 /drivers/gpu/drm/omapdrm/dss/rfbi.c
parent49239503a364bf09845d03536b28ea434b92184d (diff)
drm/omap: use dispc_channel_connected in output drivers
Use 'out->dispc_channel_connected' to check if the device is connected to an overlay manager or not, instead of using 'out->manager'. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/rfbi.c')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/rfbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/rfbi.c b/drivers/gpu/drm/omapdrm/dss/rfbi.c
index aea6a1d0fb20..3796576dfadf 100644
--- a/drivers/gpu/drm/omapdrm/dss/rfbi.c
+++ b/drivers/gpu/drm/omapdrm/dss/rfbi.c
@@ -880,7 +880,7 @@ static int rfbi_display_enable(struct omap_dss_device *dssdev)
struct omap_dss_device *out = &rfbi.output;
int r;
- if (out->manager == NULL) {
+ if (!out->dispc_channel_connected) {
DSSERR("failed to enable display: no output/manager\n");
return -ENODEV;
}