drm/radeon: remove overzealous warning in hdmi handling
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Feb 2013 13:39:10 +0000 (08:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Feb 2013 13:51:19 +0000 (08:51 -0500)
hdmi audio works fine.  The warning just confuses users.

fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=44341

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/r600_hdmi.c

index ff80efe9cb7d7e9109b98773e6e0915d6bf2cf3d..95970ec47c45f674bc80b712faedd95caaf11e81 100644 (file)
@@ -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)