From: Daniel Vetter Subject: Re: [PATCH] drm/i915/hdmi: fix hdmi audio state readout Date: Wed, 17 Sep 2014 17:55:31 +0200 Message-ID: <20140917155531.GK31703@phenom.ffwll.local> References: <1410957298-19599-1-git-send-email-jani.nikula@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 45DF86E572 for ; Wed, 17 Sep 2014 08:55:04 -0700 (PDT) Received: by mail-we0-f182.google.com with SMTP id k48so1678199wev.27 for ; Wed, 17 Sep 2014 08:55:03 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1410957298-19599-1-git-send-email-jani.nikula@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Jani Nikula Cc: intel-gfx@lists.freedesktop.org, Martin Andersen List-Id: intel-gfx@lists.freedesktop.org On Wed, Sep 17, 2014 at 03:34:58PM +0300, Jani Nikula wrote: > Check the correct bit for audio. Seems like a copy-paste error from the > start: > > commit 9ed109a7b445e3f073d8ea72f888ec80c0532465 > Author: Daniel Vetter > Date: Thu Apr 24 23:54:52 2014 +0200 > > drm/i915: Track has_audio in the pipe config > > Reported-by: Martin Andersen > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82756 > Cc: stable@vger.kernel.org # 3.16+ > Cc: Daniel Vetter > Signed-off-by: Jani Nikula Oops, indeed. Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/i915/intel_hdmi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c > index 1f6130363889..29ec1535992d 100644 > --- a/drivers/gpu/drm/i915/intel_hdmi.c > +++ b/drivers/gpu/drm/i915/intel_hdmi.c > @@ -732,7 +732,7 @@ static void intel_hdmi_get_config(struct intel_encoder *encoder, > if (tmp & HDMI_MODE_SELECT_HDMI) > pipe_config->has_hdmi_sink = true; > > - if (tmp & HDMI_MODE_SELECT_HDMI) > + if (tmp & SDVO_AUDIO_ENABLE) > pipe_config->has_audio = true; > > if (!HAS_PCH_SPLIT(dev) && > -- > 2.0.1 > -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch