From: Ilija Hadzic Date: Tue, 29 Oct 2013 15:09:44 +0000 (-0400) Subject: drm: fix error recovery path in drm_crtc_helper_set_mode X-Git-Tag: v3.13-rc1~76^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e99acdcab6b3ea0c0b87445b179c7140ff9a81d;p=pandora-kernel.git drm: fix error recovery path in drm_crtc_helper_set_mode There is no need to save or restore hwmode field, because by the time this function sets this field, it cannot fail any more. However, we should save old enabled field because if the function fails, we want to return with unchanged CRTC. Signed-off-by: Ilija Hadzic Signed-off-by: Dave Airlie --- Reading git-diff-tree failed