From patchwork Mon Oct 21 06:15:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Yu X-Patchwork-Id: 837324 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CEA2D3C93F for ; Mon, 21 Oct 2024 06:16:46 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E6CE7851; Mon, 21 Oct 2024 08:16:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E6CE7851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1729491402; bh=SB3QsRQcqgGA2dyHEZzxJwxxtZ6P+VjMKwLtTbebdG0=; h=From:To:CC:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Hm4nUowYsp457A/46ncD0Vw/KoGQcSrgzTqvg3xIJ8nOXWPYZj0F038DkQZfJbpgc o+DL+WgW4XmegmKqD1/LqCl62DmXcTWAyySsb7IQ+bc2C1r2IPb/Em3zbrQk9UQWSd gZnB/UzU7xgkF0LBrXwqPdwnzW/6mjvEzWzB8xs8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id ED3E8F805B2; Mon, 21 Oct 2024 08:16:12 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 20A5EF805AC; Mon, 21 Oct 2024 08:16:12 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B7A53F8016C; Mon, 21 Oct 2024 08:16:01 +0200 (CEST) Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0DE6FF80104 for ; Mon, 21 Oct 2024 08:15:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0DE6FF80104 Authentication-Results: alsa1.perex.cz; dkim=temperror header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=MErigJBH X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 49L6FiYlA2002592, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=realtek.com; s=dkim; t=1729491344; bh=SB3QsRQcqgGA2dyHEZzxJwxxtZ6P+VjMKwLtTbebdG0=; h=Content-Type:From:To:CC:Subject:Date:Message-ID:MIME-Version; b=MErigJBHR+JnfxU0GshynQfJj+lIK1jt/qvCRK5rsTY0EZmX0wZ8hoPcixWdikjxn BLZ63gSAkc2Q2PXAsEgQ6mEwX9xcJ/1Y4DyD+mP1yP9d4wy4MY+orjgrK285Ece1K0 589px3C1pNxHSZ9d4U89DFrn7k829CCzENL3x2fe9LG1jAc6MQnvRm4irtDEiN1zZg s3sdO7YkYOfXtlH8lO+inQoSxF9MEUqg/M60OgE0k5OPAyEzLgvz3DII1z0XkRVhj7 GkmS5BvOoGLAAtIcNXCf1tk5XgzfEXRobnDpgvQ6cCVZH6Q5d1V1kx4SDigPJLzNIS d8XToWMC1uJoA== Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/3.06/5.92) with ESMTPS id 49L6FiYlA2002592 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 Oct 2024 14:15:44 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 21 Oct 2024 14:15:45 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXDAG01.realtek.com.tw (172.21.6.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 21 Oct 2024 14:15:44 +0800 Received: from RTEXMBS01.realtek.com.tw ([fe80::147b:e1e8:e867:41c2]) by RTEXMBS01.realtek.com.tw ([fe80::147b:e1e8:e867:41c2%7]) with mapi id 15.01.2507.035; Mon, 21 Oct 2024 14:15:44 +0800 From: Jack Yu To: "broonie@kernel.org" , "lgirdwood@gmail.com" CC: "alsa-devel@alsa-project.org" , "lars@metafoo.de" , "Flove(HsinFu)" , Oder Chiou , =?big5_tw?b?U2h1bWluZyBbrVOu0bvKXQ==?= , =?big5_tw?b?RGVyZWsgW6TovHe4cV0=?= Subject: [PATCH] ASoC: rt722-sdca: increase clk_stop_timeout to fix clock stop issue Thread-Topic: [PATCH] ASoC: rt722-sdca: increase clk_stop_timeout to fix clock stop issue Thread-Index: AdsjgKjFvRyVnz1TR+GL6gzinRn0Jg== Date: Mon, 21 Oct 2024 06:15:44 +0000 Message-ID: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-TNEF-Correlator: x-originating-ip: [172.21.6.42] MIME-Version: 1.0 Message-ID-Hash: ET4TGX72PBIRMUJTDWJ2BKU5IB4YMDFV X-Message-ID-Hash: ET4TGX72PBIRMUJTDWJ2BKU5IB4YMDFV X-MailFrom: jack.yu@realtek.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: clk_stop_timeout should be increased to 900ms to fix clock stop issue. Signed-off-by: Jack Yu --- sound/soc/codecs/rt722-sdca-sdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt722-sdca-sdw.c b/sound/soc/codecs/rt722-sdca-sdw.c index 87354bb1564e..d5c985ff5ac5 100644 --- a/sound/soc/codecs/rt722-sdca-sdw.c +++ b/sound/soc/codecs/rt722-sdca-sdw.c @@ -253,7 +253,7 @@ static int rt722_sdca_read_prop(struct sdw_slave *slave) } /* set the timeout values */ - prop->clk_stop_timeout = 200; + prop->clk_stop_timeout = 900; /* wake-up event */ prop->wake_capable = 1;