Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp403953pxu; Tue, 1 Dec 2020 14:24:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJym18xh72eRkg1JgilovTnphVamXpgqHQ+f2RxtbcNClvK1pC4Mvqt9D4s6MZyR7uksJo4x X-Received: by 2002:a17:906:9588:: with SMTP id r8mr5081096ejx.148.1606861440902; Tue, 01 Dec 2020 14:24:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606861440; cv=none; d=google.com; s=arc-20160816; b=gg4rdz2g/neCO+2oGmMp0UX4HLnN/8jj95hDtPLHz5/uWX/gVXCKwKcT4XHvfm9LMh XhxY1iwQYjA62P9nHJ+H89O8PniGpgP9R6jN8KSYOnrL3iNQG3H5vXTBHEDVCzcPyAZX wXsdJJ264d4KRZmeuBJqWglDpTy9RCJSzVMrD8TN+qst+cU0YOsSTZLdHm2RFeLTxog6 +5ellN6vixXEx4LAJJr9KIvqRRrswhGbjnevZpp+IPj71C+0R8BE1epk4qqizBoa5+08 8sZvzSmgnllEk/raeGrObjS/KxPQv2m4YfWG8Sfj0yg4etvGzZvALnEYDP1LW4iw96gL mnvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=nAP5K8tuvTUHFoUXIhUBITmpTHicbW5jFFybBw7g3Xk=; b=fmU9Mb5ZacFyBH5Hp5y2nfGG2FTVD/gWsbFnNSgmNz7SWRZ5d4U6rRS9ch/zVNJj+A WgxsrD2xD+6eS7dai5qsz7I3NP2UKHyu9UJR+xvcdokaecuwv1nj4I5nXqmPNAuMkj1m 89T9yvLDXE+2g5nEbsqpPXjCgrwdbyH/e87SHY6+CUFmzokZgPBpfWoGVF+4lwkHh79w Uv3PlmgeyHP5f8Z8knX1dkA/ReLoA8pmUBPkhTwOkKw5fwEVWTG2+FiZ2XbtgaYjRdAf 32eO8/wsMDSSsgURMeQOb61x7331bdEJUyHSfDdfBQf7x/i8wfg3QfUKAu8KFhaiLHUU LYRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dqZAoVH2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r12si769634edo.212.2020.12.01.14.23.38; Tue, 01 Dec 2020 14:24:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dqZAoVH2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389348AbgLAJIz (ORCPT + 99 others); Tue, 1 Dec 2020 04:08:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:44680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388399AbgLAJHn (ORCPT ); Tue, 1 Dec 2020 04:07:43 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 62FD2206CA; Tue, 1 Dec 2020 09:06:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606813617; bh=8Mwmyg9MYFVAIzPRG0Kg3z1bONGvIvMTCc7BXhkFPrs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dqZAoVH28m3QyhWttiu7/i4X001JIbx0j2UrnOpf/S56S1exMTnx1+W/Sn7oN1FVO e69uXXtGgMb0cNnRXA2yQYqvIeqGgQHYN1bB77jp0JBnCBM3moWJVYDh2s2n35UtbS RTg7FagP7SD6AwPco0TZRfuPkRQucA8dTb/XXbxc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "alsa-devel@alsa-project.org, broonie@kernel.org, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, mateusz.gorski@linux.intel.com, Cezary Rojewski" , Pierre-Louis Bossart , Mark Brown , Cezary Rojewski Subject: [PATCH 5.4 93/98] ASoC: Intel: Skylake: Enable codec wakeup during chip init Date: Tue, 1 Dec 2020 09:54:10 +0100 Message-Id: <20201201084659.624758613@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201084652.827177826@linuxfoundation.org> References: <20201201084652.827177826@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Cezary Rojewski commit e603f11d5df8997d104ab405ff27640b90baffaa upstream. Follow the recommendation set by hda_intel.c and enable HDMI/DP codec wakeup during bus initialization procedure. Disable wakeup once init completes. Signed-off-by: Cezary Rojewski Reviewed-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20200305145314.32579-4-cezary.rojewski@intel.com Signed-off-by: Mark Brown Cc: # 5.4.x Signed-off-by: Greg Kroah-Hartman --- sound/soc/intel/skylake/skl.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -129,6 +129,7 @@ static int skl_init_chip(struct hdac_bus struct hdac_ext_link *hlink; int ret; + snd_hdac_set_codec_wakeup(bus, true); skl_enable_miscbdcge(bus->dev, false); ret = snd_hdac_bus_init_chip(bus, full_reset); @@ -137,6 +138,7 @@ static int skl_init_chip(struct hdac_bus writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); skl_enable_miscbdcge(bus->dev, true); + snd_hdac_set_codec_wakeup(bus, false); return ret; }