aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-10-16 14:53:12 -0700
committerGreg Hackmann <ghackmann@google.com>2013-10-24 10:05:10 -0700
commit96e3384bf3a9703cb6db1131d89eea3f92ffbce6 (patch)
tree16f4fe2602e4021511eaec9259136fac95f1b4a7
parentf6b794af955bdda36f7911a771b9ac666e266d07 (diff)
downloadlinaro-lsk-96e3384bf3a9703cb6db1131d89eea3f92ffbce6.tar.gz
video: adf: set default interface dpms_state to OFF
Interfaces default to unplugged, so they should also default to off Change-Id: I36500a54b11f354a0d7dd2c9924a79e0d9c6f855 Signed-off-by: Greg Hackmann <ghackmann@google.com>
-rw-r--r--drivers/video/adf/adf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/adf/adf.c b/drivers/video/adf/adf.c
index 64f763d02dc..0ae51ac9182 100644
--- a/drivers/video/adf/adf.c
+++ b/drivers/video/adf/adf.c
@@ -676,6 +676,7 @@ int adf_interface_init(struct adf_interface *intf, struct adf_device *dev,
intf->idx = idx;
intf->flags = flags;
intf->ops = ops;
+ intf->dpms_state = DRM_MODE_DPMS_OFF;
init_waitqueue_head(&intf->vsync_wait);
rwlock_init(&intf->vsync_lock);
rwlock_init(&intf->hotplug_modelist_lock);