From patchwork Tue Feb 12 13:40:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 2128391 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 7F27A3FD4F for ; Tue, 12 Feb 2013 13:41:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 58E28E61CA for ; Tue, 12 Feb 2013 05:41:17 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by gabe.freedesktop.org (Postfix) with ESMTP id 82E50E6111 for ; Tue, 12 Feb 2013 05:41:06 -0800 (PST) Received: by mail-ve0-f179.google.com with SMTP id da11so65865veb.38 for ; Tue, 12 Feb 2013 05:41:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=DJMFk+kWXOV4DHeO/6jvXwarmxe6iscPxtB+943Zixc=; b=vCn7+157J6r98br3UnIKJGbfTiCD+HP6hWLK/o4QbY2SaSVNqXRJlgufchPi/IU986 XcmR3BQLYLmH7n0tUxeU6Q5DJ4AZyOeSpP2H/Gc48oNsy6SCVCZw90Gya7tDWFNKppBC sEpqWo+/NcnA1oamLCERQuXG6P9qqyedO7uW1ITBvmGez4F59C1U837TEgQn9Ghj1WYa w4Mc1//SFPWubnfmrOZzzAmFHIIue91oQNrHBqIaTZXKWM8y2zUovsHLNwAXjt+6Cgyo t4YXzDLXKPZQeiNc0R3mDGL77ZQp0uQiz9GBLCHj9bH+Fxib9zBOevOoaLLdYKN3aIaQ 65SA== X-Received: by 10.220.219.204 with SMTP id hv12mr23723600vcb.71.1360676465739; Tue, 12 Feb 2013 05:41:05 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPS id a19sm64865521vdh.9.2013.02.12.05.41.04 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 12 Feb 2013 05:41:05 -0800 (PST) From: alexdeucher@gmail.com To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: remove overzealous warning in hdmi handling Date: Tue, 12 Feb 2013 08:40:59 -0500 Message-Id: <1360676459-14496-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 Cc: Alex Deucher , stable@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Alex Deucher hdmi audio works fine. The warning just confuses users. fixes: https://bugzilla.kernel.org/show_bug.cgi?id=44341 Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Reviewed-by: Jerome Glisse --- 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)