diff options
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_encoder.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/displays-new/encoder-tfp410.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/displays-new/encoder-tpd12s015.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/dss/output.c | 8 | ||||
-rw-r--r-- | include/video/omapdss.h | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_encoder.c b/drivers/gpu/drm/omapdrm/omap_encoder.c index c29451ba65da..6a12e899235b 100644 --- a/drivers/gpu/drm/omapdrm/omap_encoder.c +++ b/drivers/gpu/drm/omapdrm/omap_encoder.c | |||
@@ -133,7 +133,7 @@ int omap_encoder_update(struct drm_encoder *encoder, | |||
133 | struct omap_dss_driver *dssdrv = dssdev->driver; | 133 | struct omap_dss_driver *dssdrv = dssdev->driver; |
134 | int ret; | 134 | int ret; |
135 | 135 | ||
136 | dssdev->output->manager = mgr; | 136 | dssdev->src->manager = mgr; |
137 | 137 | ||
138 | if (dssdrv->check_timings) { | 138 | if (dssdrv->check_timings) { |
139 | ret = dssdrv->check_timings(dssdev, timings); | 139 | ret = dssdrv->check_timings(dssdev, timings); |
diff --git a/drivers/video/omap2/displays-new/encoder-tfp410.c b/drivers/video/omap2/displays-new/encoder-tfp410.c index a04f65856d6b..454f7714d87a 100644 --- a/drivers/video/omap2/displays-new/encoder-tfp410.c +++ b/drivers/video/omap2/displays-new/encoder-tfp410.c | |||
@@ -43,7 +43,7 @@ static int tfp410_connect(struct omap_dss_device *dssdev, | |||
43 | if (r) | 43 | if (r) |
44 | return r; | 44 | return r; |
45 | 45 | ||
46 | dst->output = dssdev; | 46 | dst->src = dssdev; |
47 | dssdev->device = dst; | 47 | dssdev->device = dst; |
48 | 48 | ||
49 | return 0; | 49 | return 0; |
@@ -63,7 +63,7 @@ static void tfp410_disconnect(struct omap_dss_device *dssdev, | |||
63 | if (dst != dssdev->device) | 63 | if (dst != dssdev->device) |
64 | return; | 64 | return; |
65 | 65 | ||
66 | dst->output = NULL; | 66 | dst->src = NULL; |
67 | dssdev->device = NULL; | 67 | dssdev->device = NULL; |
68 | 68 | ||
69 | in->ops.dpi->disconnect(in, &ddata->dssdev); | 69 | in->ops.dpi->disconnect(in, &ddata->dssdev); |
diff --git a/drivers/video/omap2/displays-new/encoder-tpd12s015.c b/drivers/video/omap2/displays-new/encoder-tpd12s015.c index ce0e010026cb..a3d29914d3b6 100644 --- a/drivers/video/omap2/displays-new/encoder-tpd12s015.c +++ b/drivers/video/omap2/displays-new/encoder-tpd12s015.c | |||
@@ -66,7 +66,7 @@ static int tpd_connect(struct omap_dss_device *dssdev, | |||
66 | if (r) | 66 | if (r) |
67 | return r; | 67 | return r; |
68 | 68 | ||
69 | dst->output = dssdev; | 69 | dst->src = dssdev; |
70 | dssdev->device = dst; | 70 | dssdev->device = dst; |
71 | 71 | ||
72 | INIT_COMPLETION(ddata->hpd_completion); | 72 | INIT_COMPLETION(ddata->hpd_completion); |
@@ -102,7 +102,7 @@ static void tpd_disconnect(struct omap_dss_device *dssdev, | |||
102 | 102 | ||
103 | gpio_set_value_cansleep(ddata->ct_cp_hpd_gpio, 0); | 103 | gpio_set_value_cansleep(ddata->ct_cp_hpd_gpio, 0); |
104 | 104 | ||
105 | dst->output = NULL; | 105 | dst->src = NULL; |
106 | dssdev->device = NULL; | 106 | dssdev->device = NULL; |
107 | 107 | ||
108 | in->ops.hdmi->disconnect(in, &ddata->dssdev); | 108 | in->ops.hdmi->disconnect(in, &ddata->dssdev); |
diff --git a/drivers/video/omap2/dss/output.c b/drivers/video/omap2/dss/output.c index 3f5c0a758b32..15f47af8e048 100644 --- a/drivers/video/omap2/dss/output.c +++ b/drivers/video/omap2/dss/output.c | |||
@@ -48,7 +48,7 @@ int omapdss_output_set_device(struct omap_dss_device *out, | |||
48 | } | 48 | } |
49 | 49 | ||
50 | out->device = dssdev; | 50 | out->device = dssdev; |
51 | dssdev->output = out; | 51 | dssdev->src = out; |
52 | 52 | ||
53 | mutex_unlock(&output_lock); | 53 | mutex_unlock(&output_lock); |
54 | 54 | ||
@@ -79,7 +79,7 @@ int omapdss_output_unset_device(struct omap_dss_device *out) | |||
79 | goto err; | 79 | goto err; |
80 | } | 80 | } |
81 | 81 | ||
82 | out->device->output = NULL; | 82 | out->device->src = NULL; |
83 | out->device = NULL; | 83 | out->device = NULL; |
84 | 84 | ||
85 | mutex_unlock(&output_lock); | 85 | mutex_unlock(&output_lock); |
@@ -146,8 +146,8 @@ EXPORT_SYMBOL(omap_dss_find_output_by_node); | |||
146 | 146 | ||
147 | struct omap_dss_device *omapdss_find_output_from_display(struct omap_dss_device *dssdev) | 147 | struct omap_dss_device *omapdss_find_output_from_display(struct omap_dss_device *dssdev) |
148 | { | 148 | { |
149 | while (dssdev->output) | 149 | while (dssdev->src) |
150 | dssdev = dssdev->output; | 150 | dssdev = dssdev->src; |
151 | 151 | ||
152 | if (dssdev->id != 0) | 152 | if (dssdev->id != 0) |
153 | return omap_dss_get_device(dssdev); | 153 | return omap_dss_get_device(dssdev); |
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 763b11b58153..5fa81ddb43ad 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -774,7 +774,7 @@ struct omap_dss_device { | |||
774 | 774 | ||
775 | enum omap_display_caps caps; | 775 | enum omap_display_caps caps; |
776 | 776 | ||
777 | struct omap_dss_device *output; | 777 | struct omap_dss_device *src; |
778 | 778 | ||
779 | enum omap_dss_display_state state; | 779 | enum omap_dss_display_state state; |
780 | 780 | ||
@@ -1011,7 +1011,7 @@ void dss_mgr_unregister_framedone_handler(struct omap_overlay_manager *mgr, | |||
1011 | 1011 | ||
1012 | static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev) | 1012 | static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev) |
1013 | { | 1013 | { |
1014 | return dssdev->output; | 1014 | return dssdev->src; |
1015 | } | 1015 | } |
1016 | 1016 | ||
1017 | static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev) | 1017 | static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev) |