diff options
author | Greg Hackmann <ghackmann@google.com> | 2013-10-16 14:53:12 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-19 13:10:36 -0700 |
commit | f4adab905ee5563c9eafce66648f65cf77742a39 (patch) | |
tree | 4efb21dddd5589845c55eb627070420c1dd665fe /drivers/video | |
parent | 90b3bd128a66ddf006bcc5a1f091847e1f7840f0 (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/adf/adf.c | 1 |
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); |