Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3851401pxb; Tue, 17 Nov 2020 05:23:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxI+bIFgZ6PRvHHLRAX2dOywRqnnStrEq/OdsyrIQOitW2vODdOQsql4SJvlsaR5AbHjFO1 X-Received: by 2002:a50:d74c:: with SMTP id i12mr21742521edj.236.1605619419034; Tue, 17 Nov 2020 05:23:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605619419; cv=none; d=google.com; s=arc-20160816; b=kNxBbEwsOEu8jbCGb+0htvpC3Un4Sp6hUIg2UnNXuZCcX7If0VG6RSw3nXg1ozm5DJ U9r3UpjCfbtRt8DnZ+RWVYhNcP67sOto9rvP+c8myuZABBSwc9CC3tzUY0ofMu9LFbG8 RZobhODfesOun7guCJJ+JSYcGFUeXwbs/2kfE6IyhySKaM8G2kme8y6zXJDvCMZT7hWc ErE+L8i5G6t2I1LL0UHXh0+R97j7cypQVE0vYJXCzqtuBJ8Oqm4EPu9VLlJv0nwc9O6Z 8bz0NjLrzUMO0tPO4ezn7B7Anmh8JVkRKnI8GmpM+tqq0RrVdVjKlU9w/EBvF9NmQ06G VYuQ== 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=A8KojjQWHXuRhaMlT1qbcczg8vxDq2yF1AhzDI7HNx0=; b=nqeVdRaE/sOcQuHdA754djOYL9GRczllCtSQcB43pCxaSr9VvvH76LUWL797JTT2JE Bnvc0eXx0zT2RI4sEHHKg09vXTcGVUFb0Z5frc2XhtKLzMGn/JSb+wJSWFMEUNABJwUR WAsMM3ykGnhHl8TcAfa47FJS8vPlSlTuWWKtj5ND8F4rRMva7HMz6CKd5HDSX73MTqR8 sC1lAe/Z7gBpvZsHVegXKZSF81qmr3d+y68ZU9yGnRuq7cCO/qdGF+o+koMZo+qS6YDO +jh8WCiH6fYfQK0V+rewL65Q1y8bJ1H4HWbyq6lFIFe06mRGyXLIT6TgVkwVg5EFJIi8 9fWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ko9aS5YQ; 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=fail (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 w5si14103215edi.111.2020.11.17.05.23.15; Tue, 17 Nov 2020 05:23:39 -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=@kernel.org header.s=default header.b=Ko9aS5YQ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730758AbgKQNTF (ORCPT + 99 others); Tue, 17 Nov 2020 08:19:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:51162 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730321AbgKQNSb (ORCPT ); Tue, 17 Nov 2020 08:18:31 -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 97F2021734; Tue, 17 Nov 2020 13:18:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605619111; bh=2ttryGY3eT5+z8ilDfIM5PMl2ptH1k50VUbYb4lTFH8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ko9aS5YQsL0rhU06v+o6OOpn4hd3e5f8WicrZ3iAiuHXaSHaVfrM5WuhESkw2KMEy 1ltGilDbvQnJOUyqAmWbmBuX8Z5N+mN9ioeNv7Sk/uvga+p4xgIZhfqYvM1WLACQqB s25KflnJwmAQ0GGPksBPtHyk79q5A8NGQ3iabLxk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Takashi Iwai , Sasha Levin Subject: [PATCH 4.19 031/101] ALSA: hda: Reinstate runtime_allow() for all hda controllers Date: Tue, 17 Nov 2020 14:04:58 +0100 Message-Id: <20201117122114.605040102@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122113.128215851@linuxfoundation.org> References: <20201117122113.128215851@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: Kai-Heng Feng [ Upstream commit 9fc149c3bce7bdbb94948a8e6bd025e3b3538603 ] The broken jack detection should be fixed by commit a6e7d0a4bdb0 ("ALSA: hda: fix jack detection with Realtek codecs when in D3"), let's try enabling runtime PM by default again. Signed-off-by: Kai-Heng Feng Link: https://lore.kernel.org/r/20201027130038.16463-4-kai.heng.feng@canonical.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/pci/hda/hda_intel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index d43245937db7e..8e1eb5f243a27 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2478,6 +2478,7 @@ static int azx_probe_continue(struct azx *chip) if (azx_has_pm_runtime(chip)) { pm_runtime_use_autosuspend(&pci->dev); + pm_runtime_allow(&pci->dev); pm_runtime_put_autosuspend(&pci->dev); } -- 2.27.0