Message ID | 20221013175143.828749143@linuxfoundation.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp409723wrs; Thu, 13 Oct 2022 11:05:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7isZvU0VBSuyoY2dNBsQryTTsnBf8eT8cza+11inEzcBZ6txYvvNz/8M9mnHNPL4XRwlJx X-Received: by 2002:a17:90b:1f86:b0:205:d3d0:1931 with SMTP id so6-20020a17090b1f8600b00205d3d01931mr1080234pjb.211.1665684314844; Thu, 13 Oct 2022 11:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665684314; cv=none; d=google.com; s=arc-20160816; b=iw7BkYJgdKZIhu1Jf0vaEmMyepTo6y/Z83zqTIUP2IDuck6IIwhziAVAPFkuDU0Joo +gL0VZ6TUQxGCciUBDpm1vBgcilOw8PFREW/ZTDcIYJZDxfa1Oii9H56iutII5yKbIuU Me2+6jsi6e/b22vxbqtRYXuON26tYenGuJXhoVD/8fo2zi973asS+ymXfq22fTFsSDMf J9C3qzohwZ8d54A0T8qUVTwmw7HN3R1/uxtwoqsi21FEG3mTt9WrSrpDWIMnZbWYN6pO DpGvsv8fjzzxuEHC+nR3LudaZRQZsoQYD/MDxo+HxKDOkgm1ebH7AdQSIAcu/jDlUQHr +xxw== 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=UeROimL2JBj3ORyRnFXpE92Ln68hTJGi5N/vUqTIDyM=; b=ctmkJMR+zzwMS/jsqOlJPhRspRE5t6QGVq0iw0ypInVvzM6bnEc9PMyaX4a4BMXjVH MC7SOvTB5cIzl3yW0Hxx4ArdAn0rHmZs3fX+CJ3hA2I2kssytyqdTpjyrIK05RJbOQW7 JbhcuKazb9F3WWRejDdlCOjtN9IrzBehES/dqbnjhVGnk2ib6DIxBvbPiX9MFJZdRGUQ SgdKOQFwnEBQ9WmdpraO4S6ViUeNR929DYdN59t5yJaNogB2kSzo/0UqrmCcQ/ZxCRKC 7pNlXaeUUmFgAEHgDEigaPfIaGQ4piiqsjaXOPtyU1PILzNvtnno+a3lEsYvhYA+yw7R nMSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ag5Of/KA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a636f03000000b0044ed39c6858si91284pgc.66.2022.10.13.11.04.59; Thu, 13 Oct 2022 11:05:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ag5Of/KA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230491AbiJMSDI (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Thu, 13 Oct 2022 14:03:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230379AbiJMSCn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Oct 2022 14:02:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ADA916F426; Thu, 13 Oct 2022 11:02:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 807FAB82049; Thu, 13 Oct 2022 17:58:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9611C433D7; Thu, 13 Oct 2022 17:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665683922; bh=VG1Ib82ny6UYrmzLQZzTBUrQrO8XhzWhgh+5XQUH54w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ag5Of/KA63u7kufQNaGnbndbprrHG+hA/plb2tpNidkUcIE4CHL8C2sfFjLMCiNZV /3U1itKqsDnKLUQrSM3DCvylnx/hVrFNmEBWaHD7g6lWBkOBbdXSDhmR1ajn1wibRK NUXJcE3OhXV7eZJ7OiRUoYyKmQEgNPPh17SKyA2M= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Takashi Iwai <tiwai@suse.de>, Hans de Goede <hdegoede@redhat.com> Subject: [PATCH 5.15 08/27] ALSA: hda: Fix position reporting on Poulsbo Date: Thu, 13 Oct 2022 19:52:37 +0200 Message-Id: <20221013175143.828749143@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221013175143.518476113@linuxfoundation.org> References: <20221013175143.518476113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746596596202349410?= X-GMAIL-MSGID: =?utf-8?q?1746596596202349410?= |
Series |
None
|
|
Commit Message
Greg KH
Oct. 13, 2022, 5:52 p.m. UTC
From: Takashi Iwai <tiwai@suse.de> commit 56e696c0f0c71b77fff921fc94b58a02f0445b2c upstream. Hans reported that his Sony VAIO VPX11S1E showed the broken sound behavior at the start of the stream for a couple of seconds, and it turned out that the position_fix=1 option fixes the issue. It implies that the position reporting is inaccurate, and very likely hitting on all Poulsbo devices. The patch applies the workaround for Poulsbo generically to switch to LPIB mode instead of the default position buffer. Reported-and-tested-by: Hans de Goede <hdegoede@redhat.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/3e8697e1-87c6-7a7b-d2e8-b21f1d2f181b@redhat.com Link: https://lore.kernel.org/r/20221001142124.7241-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- sound/pci/hda/hda_intel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
--- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2523,7 +2523,8 @@ static const struct pci_device_id azx_id .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_NOPM }, /* Poulsbo */ { PCI_DEVICE(0x8086, 0x811b), - .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE }, + .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE | + AZX_DCAPS_POSFIX_LPIB }, /* Oaktrail */ { PCI_DEVICE(0x8086, 0x080a), .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE },