]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:34 +0000 (05:38 -0800)
commit c944b2abb067130542055666f23409fd5e1afc8e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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)