diff options
author | Ilija Hadzic <ihadzic@research.bell-labs.com> | 2013-10-29 16:09:45 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-06 05:27:51 +0100 |
commit | 48b1f5ddaafa341bebbaac2a5fbaaa89b5b16281 (patch) | |
tree | 8b1d13ba86eead39e477b46747ffe975247f885a /firmware/e100 | |
parent | drm: fix error recovery path in drm_crtc_helper_set_mode (diff) | |
download | linux-48b1f5ddaafa341bebbaac2a5fbaaa89b5b16281.tar.xz linux-48b1f5ddaafa341bebbaac2a5fbaaa89b5b16281.zip |
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>
Diffstat (limited to 'firmware/e100')
0 files changed, 0 insertions, 0 deletions