From patchwork Wed Feb 14 04:08:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhijeet Kumar X-Patchwork-Id: 10218027 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C3CB36055C for ; Wed, 14 Feb 2018 04:01:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B77132901C for ; Wed, 14 Feb 2018 04:01:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4AA82901F; Wed, 14 Feb 2018 04:01:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 96D3E29163 for ; Wed, 14 Feb 2018 04:00:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0286D6E048; Wed, 14 Feb 2018 04:00:42 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id E080D8979E for ; Wed, 14 Feb 2018 04:00:37 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2018 20:00:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,510,1511856000"; d="scan'208";a="17954933" Received: from intel-h97m-d3h.iind.intel.com ([10.66.247.169]) by orsmga008.jf.intel.com with ESMTP; 13 Feb 2018 20:00:36 -0800 From: abhijeet.kumar@intel.com To: intel-gfx@lists.freedesktop.org Date: Wed, 14 Feb 2018 09:38:43 +0530 Message-Id: <1518581323-26439-3-git-send-email-abhijeet.kumar@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1518581323-26439-1-git-send-email-abhijeet.kumar@intel.com> References: <1518581323-26439-1-git-send-email-abhijeet.kumar@intel.com> Subject: [Intel-gfx] [PATCH 3/3] just some guess work to findout the culprit. If this breaks then we know what do. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Abhijeet Kumar --- sound/pci/hda/hda_codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 8c1b07e300a8..377d5719b4cd 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -2714,7 +2714,7 @@ static unsigned int hda_sync_power_state(struct hda_codec *codec, int count; for (count = 0;count < 500; count++) { - state = snd_hda_codec_read(codec, fg, 0, + state = snd_hdac_codec_read(&codec->core, fg, 0, AC_VERB_GET_POWER_STATE, 0); if (state & AC_PWRST_ERROR){ msleep(20);