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 8C98DC3DA7D for ; Thu, 5 Jan 2023 13:34:38 +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 E4DC210DF8; Thu, 5 Jan 2023 14:33:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E4DC210DF8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672925676; bh=Pi2D9DTYiBdRgH5h0C/CEparBdk64B+TTdiyL5UlF9M=; h=Date:From:To:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=daP2RGWDpktVb/DAOurYELZd/F2xyUyVOR5675tyIoasCBNcDbhQwRH2mX0TNyGE6 zdkfu3iqQBuvDNQKjAEYhAbQ4T5B+jonCiN+n2H/OcxQagsooesBAWsbmnQiEzmkkI QiJtrTyQRoeOIJDjhPePfMt2Du6x9KQ1F1UZz9/s= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A24C3F8047B; Thu, 5 Jan 2023 14:33:45 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E3B15F800C0; Thu, 5 Jan 2023 14:33:43 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (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 E0EA4F800C0 for ; Thu, 5 Jan 2023 14:33:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E0EA4F800C0 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=SVami08X; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Wy+O+63G Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 66BDC24060; Thu, 5 Jan 2023 13:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1672925616; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QoOn8rw1D+RYEvX/6fpB0+7eScUu53VCc5EzQDucmEg=; b=SVami08X6MoN/Ma6qgYoc3Pc2fNg+h6L9TKNpfljzeSJ44bFoa88/zDBTBHYuuA13ET4Hr iY7cRsiLPuU89A/OqLuaHeXqxl/QmbrVn22N0CLpofGUAZ1F5Zj0Ia/8zYl9fl60aVL46G 1TgXVayR+CmYFX8zhDM9VruMOpyQ7e0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1672925616; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QoOn8rw1D+RYEvX/6fpB0+7eScUu53VCc5EzQDucmEg=; b=Wy+O+63Gwzrt2dIyHMUvOGCi1FmkPA0KjDhzYQLlfgEAgBxOh/+B9UcZUjKbvYgFDBiHhU fGPbnCh6WLPQusAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3EEE313338; Thu, 5 Jan 2023 13:33:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Nj+eDrDRtmMKbwAAMHmgww (envelope-from ); Thu, 05 Jan 2023 13:33:36 +0000 Date: Thu, 05 Jan 2023 14:33:35 +0100 Message-ID: <87wn61kswg.wl-tiwai@suse.de> From: Takashi Iwai To: Thorsten Leemhuis Subject: Re: [PATCH 1/2] ALSA: hda: cs35l41: Don't return -EINVAL from system suspend/resume In-Reply-To: References: <20230105093531.16960-1-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Richard Fitzgerald , Stefan Binding , Lucas Tanure Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, 05 Jan 2023 11:14:13 +0100, Thorsten Leemhuis wrote: > > On 05.01.23 10:35, Takashi Iwai wrote: > > The recent commit to support the system suspend for CS35L41 caused a > > regression on the models with CS35L41_EXT_BOOST_NO_VSPK_SWITC boost > > type, as the suspend/resume callbacks just return -EINVAL. This is > > eventually handled as a fatal error and blocks the whole system > > suspend/resume. > > > > For avoiding the problem, this patch corrects the return code from > > cs35l41_system_suspend() and _resume() to 0, and replace dev_err() > > with dev_err_once() for stop spamming too much. > > > > Fixes: 88672826e2a4 ("ALSA: hda: cs35l41: Support System Suspend") > > Cc: > > Thx for taking care of that. > > > Link: https://lore.kernel.org/r/4262e3c4-6169-bbd2-e918-16b06f6994bc@protonmail.com > > Lore says "Not found". I wonder if it was a private mail later send > again here: > > https://lore.kernel.org/all/e6751ac2-34f3-d13f-13db-8174fade8308@pm.me/ Yeah, it looks so. I'll correct the URL at applying the patches. thanks, Takashi