summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Rubin <jimmy.rubin@stericsson.com>2012-02-03 14:08:13 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:27 +0200
commit5ce10cd55898e8dba21d40cad3e911c8ffa52140 (patch)
treed3f8853f4cbbef0af96bfa8c8ddfd5086149ae58
parent7d0073edc6aa56185574b1fa7e52df6882d31d61 (diff)
video: mcde: Add set_rotation to display_av8100.c
The function set_rotation should be handled in the av8100 display driver. Set_rotation should just return 0 because mcde should not rotate for the channel connected to av8100. ST-Ericsson ID: 412591 ST-Ericsson FOSS-OUT ID: Trivial ST_Ericsson Linux next: NA Change-Id: If18c048f9bd2507bbb93206211924c467ca77e46 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47793 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
-rw-r--r--drivers/video/mcde/display-av8100.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/mcde/display-av8100.c b/drivers/video/mcde/display-av8100.c
index b5116621e16..b443f7f1760 100644
--- a/drivers/video/mcde/display-av8100.c
+++ b/drivers/video/mcde/display-av8100.c
@@ -1421,6 +1421,13 @@ set_power_and_exit:
return ret;
}
+static int hdmi_set_rotation(struct mcde_display_device *ddev,
+ enum mcde_display_rotation rotation)
+{
+ /* Not possible to rotate HDMI */
+ return 0;
+}
+
static int __devinit hdmi_probe(struct mcde_display_device *dev)
{
int ret = 0;
@@ -1457,6 +1464,7 @@ static int __devinit hdmi_probe(struct mcde_display_device *dev)
dev->apply_config = hdmi_apply_config;
dev->set_pixel_format = hdmi_set_pixel_format;
dev->set_power_mode = hdmi_set_power_mode;
+ dev->set_rotation = hdmi_set_rotation;
port = dev->port;