From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEA09C432BE for ; Sun, 15 Aug 2021 09:20:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C61C66103D for ; Sun, 15 Aug 2021 09:20:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237267AbhHOJVD (ORCPT ); Sun, 15 Aug 2021 05:21:03 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:46540 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237305AbhHOJUu (ORCPT ); Sun, 15 Aug 2021 05:20:50 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id A149621F81; Sun, 15 Aug 2021 09:20:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1629019216; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VWHJXr8LZmGJbQ83bnEQO4WAj6GdUgXOoLBUutZq494=; b=UXeFQoDZ0eUlbLqQdilOhBhPmqjUK7KLZAJgY6iLOci4SDBwIR67285SpbzgmPrDlrVLd4 WOErA8yBn1fH34GjNftoLzuDzpEmziwxRpY9Jpk+R2ay/SDORS94Y4jvcWecB8RHi0o8vi /CM5bB31MRWFunB4zmG90BPp2g+OUKI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1629019216; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VWHJXr8LZmGJbQ83bnEQO4WAj6GdUgXOoLBUutZq494=; b=0N5XH1G+96cLf5aihvmJW9SBJiyS//afbMb7gn4X+yPt0W9g8aN4tvGJnWZewKZ2xMalR8 K6rem/5tpKlPbBCA== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 7932DA3B83; Sun, 15 Aug 2021 09:20:16 +0000 (UTC) Date: Sun, 15 Aug 2021 11:20:16 +0200 Message-ID: From: Takashi Iwai To: =?UTF-8?B?6JeN5oy655GL?= Cc: alsa-devel@alsa-project.org, harshapriya.n@intel.com, kai.vehmanen@intel.com, linux-kernel@vger.kernel.org, mcatanzaro@redhat.com, perex@perex.cz, stable@vger.kernel.org, tiwai@suse.com Subject: Re: [REGRESSION] "ALSA: HDA: Early Forbid of runtime PM" broke my laptop's internal audio In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 14 Aug 2021 16:02:36 +0200, 藍ĉŒşç‘‹ wrote: > > I am not sure if I should join this old thread, but it seems that I saw the same > issue on my ASUS B23E laptop. It couldn't produce any sound after upgrading to > Linux 5.10, and 'git bisect' shows it was broken by the same commit > a0645daf16101bb9a6d87598c17e9a8b7bd60ea7. > > I have tested the latest master branch (v5.14-rc4-322-gcceb634774ef) last week. > It still had no sound. If I reverted the broken commit, sound worked. > > alsa-info from the broken kernel: > https://gist.github.com/lantw44/0660e059c488e3ff3d841bb03b371866 > > alsa-info from the working kernel: > https://gist.github.com/lantw44/9367f425e4f5ba98cf12343cb90f3301 Thanks for the report. A quick workaround be a patch like below. Could you verify whether it fixes the problem? Takashi --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -1041,6 +1041,7 @@ static const struct hda_fixup via_fixups[] = { }; static const struct snd_pci_quirk vt2002p_fixups[] = { + SND_PCI_QUIRK(0x1043, 0x13f7, "Asus B23E", VIA_FIXUP_POWER_SAVE), SND_PCI_QUIRK(0x1043, 0x1487, "Asus G75", VIA_FIXUP_ASUS_G75), SND_PCI_QUIRK(0x1043, 0x8532, "Asus X202E", VIA_FIXUP_INTMIC_BOOST), SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", VIA_FIXUP_POWER_SAVE),