From: Jani Nikula Date: Wed, 29 Aug 2012 13:43:58 +0000 (+0300) Subject: drm/i915: fix sdvo hotplug support check and activation X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fa7ac9c9cadd598a22c09660c270bdb92da1e91;p=pandora-kernel.git drm/i915: fix sdvo hotplug support check and activation The sdvo hotplug support check and activation has worked by coincidence for TMDS0. The boolean value returned by intel_sdvo_supports_hotplug() was masked with a bit shifted by device number, which also should have been one of SDVO_OUTPUT_* bits instead. Boolean true masked with 1 shifted by 0 just happened to match SDVO_OUTPUT_TMDS0... Get hotplug support as a bit mask, check the correct bits for support, and use the correct bits for activating hotplug support. Signed-off-by: Jani Nikula Reviewed-by: Simon Farnsworth Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed