commit | 48b1f5ddaafa341bebbaac2a5fbaaa89b5b16281 | [log] [tgz] |
---|---|---|
author | Ilija Hadzic <ihadzic@research.bell-labs.com> | Tue Oct 29 11:09:45 2013 -0400 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 06 14:27:51 2013 +1000 |
tree | 8b1d13ba86eead39e477b46747ffe975247f885a | |
parent | 7e99acdcab6b3ea0c0b87445b179c7140ff9a81d [diff] |
drm: do not set crtc enabled field twice There is no need to set crtc->enabled field in drm_crtc_helper_set_config. This is already done (and properly restored in case of failure) in drm_crtc_helper_set_mode that is called by drm_crtc_helper_set_config. Doing it at only one place makes restoration in case of failure easier. Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: Dave Airlie <airlied@redhat.com>