Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6496271rdb; Thu, 14 Dec 2023 23:14:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVgjrHGomh/M1CqhS6s5zO6mQixV4XRx7zYv0dTwu+v89ilcMq/N9fQ7tfGkpbFXF9DHmx X-Received: by 2002:a05:620a:1595:b0:77f:289c:bb05 with SMTP id d21-20020a05620a159500b0077f289cbb05mr15903526qkk.75.1702624449823; Thu, 14 Dec 2023 23:14:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702624449; cv=none; d=google.com; s=arc-20160816; b=mmu93KD1yjoi8ZoXPZZlbHB+isoIAl7QLtY38Z+Qsf/JYK9lCtllQQav7CNVxtU1aB BZjsniXvB7ZDPQ7p75b0vt8014MH0CJMT34cd5Y0sky+Ic8GCMMuNoAT0VSW51KGV1CE R+Xn3FBfQNry3aUW4QqHHO6DWnLWpHaRBe1GLQtmEgub5wBIdx9tHx4VRy94UOKSy/We 8qt9XhlxAgStu3zkd1NlTdsbZATL05DuqoJXjExvbQ3VhR6RzECOulweJs8EquMM3+wM OB5sikFjp0ZnURpiS2VxIlYd6uZHUNJhlSy2nbp/AnhynUJ59YgaWpcorc2hxckWCFbR TmiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=DueD1ycJeZpomdNur64/vGkxE0MwuO7XBirtEWUESXQ=; fh=BKtipKovsCGcWnDysz6K+aSHDcfhPOHqPEDNW3phKx8=; b=BZDPAnK9Wq2XD0mGgGO+gkJMm+PoKzx3B54tfzPJxdd/9c5Pg63i/AkVJmgupZVgCv ya7owAmZwdRf80vh/5vAvbxXBzdrBmKkEXBilMGfW+qjXYnPso1Uo77cVg62P+6wfLKM yWFKTzBCCcMaiUQY0WrWTN0Yte0ZxRHenwas61kJ4dN0VpY8gbypVtD50guAN1uQi0oZ g28IherCfnywHPBr2MFsJaSdnGRso2LAVrM0cznOdq7YlIUTwtWqhdenNz49zxS2dVn3 pAqS+Fw3CR+stceavBSMLKrjvfy+jJ/6mQmUE01kVxcMBjEd1ay1Hxx7XL5KSwU1YG4X 2D3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=HuUfVCfp; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=HuUfVCfp; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel+bounces-509-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j9-20020ac84409000000b0041cbb5e5a86si16196382qtn.428.2023.12.14.23.14.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:14:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-509-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=HuUfVCfp; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=HuUfVCfp; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel+bounces-509-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 73DAC1C2112B for ; Fri, 15 Dec 2023 07:14:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4978AD2EA; Fri, 15 Dec 2023 07:14:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="HuUfVCfp"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="0KMe7wA7"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="HuUfVCfp"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="0KMe7wA7" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36C87D28F; Fri, 15 Dec 2023 07:14:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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 smtp-out2.suse.de (Postfix) with ESMTPS id 309241F81D; Fri, 15 Dec 2023 07:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702624439; 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=DueD1ycJeZpomdNur64/vGkxE0MwuO7XBirtEWUESXQ=; b=HuUfVCfp+L4OZuCGMUNjNj2K5u3Z3MXxBjt26N6AHE3o3XUXvArLAyp68XL3A0LoL738LR 0lSl3LY3Ga3PsnoE5avswzuT/xA7AA8fPXv+FiykNA+ylPDplJcStRORjwsSiAbXKj5JR1 jKNnRFWD0O+KYgoTl6TNcjozEvFFaew= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702624439; 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=DueD1ycJeZpomdNur64/vGkxE0MwuO7XBirtEWUESXQ=; b=0KMe7wA79ifaIm0aeQz0UntgBIGdqNGyyie3rjDoLYS2fkGpFareUueG0rKiaHkX9VY6U5 PQJtJMznpY6TVyDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702624439; 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=DueD1ycJeZpomdNur64/vGkxE0MwuO7XBirtEWUESXQ=; b=HuUfVCfp+L4OZuCGMUNjNj2K5u3Z3MXxBjt26N6AHE3o3XUXvArLAyp68XL3A0LoL738LR 0lSl3LY3Ga3PsnoE5avswzuT/xA7AA8fPXv+FiykNA+ylPDplJcStRORjwsSiAbXKj5JR1 jKNnRFWD0O+KYgoTl6TNcjozEvFFaew= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702624439; 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=DueD1ycJeZpomdNur64/vGkxE0MwuO7XBirtEWUESXQ=; b=0KMe7wA79ifaIm0aeQz0UntgBIGdqNGyyie3rjDoLYS2fkGpFareUueG0rKiaHkX9VY6U5 PQJtJMznpY6TVyDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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 imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id E206E13726; Fri, 15 Dec 2023 07:13:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id BZfVNbb8e2VyKQAAD6G6ig (envelope-from ); Fri, 15 Dec 2023 07:13:58 +0000 Date: Fri, 15 Dec 2023 08:13:58 +0100 Message-ID: <87a5qcos3t.wl-tiwai@suse.de> From: Takashi Iwai To: Gergo Koteles Cc: Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, stable@vger.kernel.org Subject: Re: [PATCH] ALSA: hda/tas2781: select program 0, conf 0 by default In-Reply-To: <038add0bdca1f979cc7abcce8f24cbcd3544084b.1702596646.git.soyer@irl.hu> References: <038add0bdca1f979cc7abcce8f24cbcd3544084b.1702596646.git.soyer@irl.hu> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Level: **** X-Spam-Level: Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=HuUfVCfp; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=0KMe7wA7 X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-6.86 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.954]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_HI(-3.50)[suse.de:dkim]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[9]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-2.89)[99.55%] X-Spam-Score: -6.86 X-Rspamd-Queue-Id: 309241F81D X-Spam-Flag: NO On Fri, 15 Dec 2023 00:33:27 +0100, Gergo Koteles wrote: > > Currently, cur_prog/cur_conf remains at the default value (-1), while > program 0 has been loaded into the amplifiers. > > In the playback hook, tasdevice_tuning_switch tries to restore the > cur_prog/cur_conf. In the runtime_resume/system_resume, > tasdevice_prmg_load tries to load the cur_prog as well. > > Set cur_prog and cur_conf to 0 if available in the firmware. > > Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver") > CC: stable@vger.kernel.org > Signed-off-by: Gergo Koteles Thanks, applied now. Takashi