From: Daniel Vetter Date: Tue, 12 Jun 2012 14:36:45 +0000 (+0200) Subject: drm/i915: ensure HDMI port is disabled inside set_infoframes X-Git-Tag: v3.6-rc1~83^2~42^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afba018898ae54b498e82b3cd4d2b61c74032c90;p=pandora-kernel.git drm/i915: ensure HDMI port is disabled inside set_infoframes This function is supposed to be used at mode set time, so prevent against future mistakes by adding a WARN(). Based on a patch by Paulo Zanoni, with the check extracted into a little assert_hdmi_port_disabled helper added to make things self documenting and move the assert stuff out of line. [fixed up spelling goof-up while applying.] Cc: Paulo Zanoni Reviewed-by: Eugeni Dodonov Reviewed-by: Paulo Zanoni Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed