From: Alex Deucher Date: Tue, 12 Feb 2013 13:39:10 +0000 (-0500) Subject: drm/radeon: remove overzealous warning in hdmi handling X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c944b2abb067130542055666f23409fd5e1afc8e;p=openwrt%2Fstaging%2Fblogic.git drm/radeon: remove overzealous warning in hdmi handling hdmi audio works fine. The warning just confuses users. fixes: https://bugzilla.kernel.org/show_bug.cgi?id=44341 Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse Cc: stable@vger.kernel.org --- diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c index ff80efe9cb7d..95970ec47c45 100644 --- a/drivers/gpu/drm/radeon/r600_hdmi.c +++ b/drivers/gpu/drm/radeon/r600_hdmi.c @@ -544,7 +544,6 @@ void r600_hdmi_disable(struct drm_encoder *encoder) /* Called for ATOM_ENCODER_MODE_HDMI only */ if (!dig || !dig->afmt) { - WARN_ON(1); return; } if (!dig->afmt->enabled)