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

Jerome Glisse j.glisse at gmail.com
Tue Feb 12 10:21:05 PST 2013


On Tue, Feb 12, 2013 at 8:40 AM,  <alexdeucher at gmail.com> wrote:
> From: Alex Deucher <alexander.deucher at amd.com>
>
> 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 at amd.com>
Reviewed-by: Jerome Glisse <jglisse at redhat.com>
> Cc: stable at vger.kernel.org
> ---
>  drivers/gpu/drm/radeon/r600_hdmi.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c
> index ff80efe..95970ec 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)
> --
> 1.7.7.5
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list