From: Greg Hackmann Date: Wed, 16 Oct 2013 21:53:12 +0000 (-0700) Subject: video: adf: set default interface dpms_state to OFF X-Git-Tag: firefly_0821_release~2958^2~229 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=68af5acfba19167387f5fad14b0f8ade0c930526;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/drivers/video/adf/adf.c b/drivers/video/adf/adf.c index 64f763d02dcf..0ae51ac9182b 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);