[PATCH 111/139] drm/radeon: remove overzealous warning in hdmi handling

Luis Henriques luis.henriques at canonical.com
Thu Feb 28 14:44:21 UTC 2013 -stable review patch.  If anyone has any objections, please let me know.


From: Alex Deucher <alexander.deucher at amd.com>

commit c944b2abb067130542055666f23409fd5e1afc8e upstream.

hdmi audio works fine.  The warning just confuses users.


Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Jerome Glisse <jglisse at redhat.com>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
 drivers/gpu/drm/radeon/r600_hdmi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c
index 82a0a4c..851a477 100644
--- a/drivers/gpu/drm/radeon/r600_hdmi.c
+++ b/drivers/gpu/drm/radeon/r600_hdmi.c
@@ -545,7 +545,6 @@ void r600_hdmi_disable(struct drm_encoder *encoder)
 	/* Called for ATOM_ENCODER_MODE_HDMI only */
 	if (!dig || !dig->afmt) {
-		WARN_ON(1);
 	if (!dig->afmt->enabled)

More information about the kernel-team mailing list