Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2397650lqb; Mon, 27 May 2024 20:11:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPDqUV/Fe4DFRIfdtLGbgrmjUd3eyH6ecG3BElZ9mgkzAnGLjaZNC7mMupy1nngGNPR8HRZc/vdTUAailMsplYgbHprOToQ97TgYj9zg== X-Google-Smtp-Source: AGHT+IHH8ti77mUNpd0zjjUJNbzAnSsj1Kich8IrXLo0oOW/4OMDKrh2gr/4hVURGfnkmnNPl48c X-Received: by 2002:ac8:5909:0:b0:43a:ffa5:ec8d with SMTP id d75a77b69052e-43fb0ef82f5mr109689461cf.42.1716865909114; Mon, 27 May 2024 20:11:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716865909; cv=pass; d=google.com; s=arc-20160816; b=NGcTHg3E3wOeZ2ZmZz0VuLJiM0P4Kv1Wv1aHbUlVMjkdDoCjBRdku5oeXXY9oZAUTN jK+E1r8KyYYVli7yIja6Pu4XJncuzxVfxJ2L6INVlxCTjLNB5Nfyu+W8jy48LNWKgNls Ta+a1AN/l8aSwZvnAgBEUHEwZjXafFKLFcgMpwkeXoMn5mNKheBZn697HlUzXNz7YZCY tTZ/cxXXZxk0cm9N/V15YKfA2AzKyKq8/oN8L4ygcxlvuJGUqRyZxQT3yyfgoyks9EWD YtE3FlLID7xmBFMSM24jdMafRiHQUa4L+imZvsuf+BlmSpxpt7Eft7GouHAY61o21x15 /xLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=eEsT4srTKRGe7+Ko1C0Nkp4GuVM6zi/qIdwWkNqxv9M=; fh=BtWw6o+2l/Go+f6VVlBHU/gXgXwbOVHU+0zGcLLvzzQ=; b=di5eqLNNqh6aCGUFQ0TF/+Z9k9Mz4rHPbkZnuKpZEDZuQPSDB+O+p0UjtfCt7O6oYJ PEtv32JZZzxnAFRq+1iDjrauAtJL9cLhvoYb7VXVrkOeIF2iKTOIfxShRjeyesRpIbnN W8t0AVb9yZ9MbDsbRLhvx4YHJkkEl8DD4o14u9rCbAfO8Es1ZBmWiHIQfQA5VFGp4Ih9 Q/3Qqi54YPfuSEoXqu0opANQrLg6ZfV81fpmoF/PjKsYK/vgw9O/AgCMwlyRjE7pDoiG 2QxGRfm8enzJuAspDg70+LofQWBGcNooeSa2igAn23Co1ZG4IxhUZDjn9frS23HgFbfv uVEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="fR08/BQr"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-191672-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18a69d3si93705671cf.363.2024.05.27.20.11.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 20:11:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191672-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="fR08/BQr"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-191672-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 C09D91C2158F for ; Tue, 28 May 2024 03:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D986A1401B; Tue, 28 May 2024 03:11:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="fR08/BQr" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93B8E33C8 for ; Tue, 28 May 2024 03:11:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716865902; cv=none; b=DERmpcsdHF/hFiSTQi1d8bHKzIQSHQMUQolMIcXFqnRi9Pw6TeJUU6YFmR7YI6VLqovYfC1IErlaU3sNH3C7ng2YSG6TxsUPuwo9CUnqOW8aZw7DShZHO6ttQrpFzAHc0o8kPsyDu2DoDGRsDyfIiKmX7oAcR/fH0tPbk0Z6sv4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716865902; c=relaxed/simple; bh=eEsT4srTKRGe7+Ko1C0Nkp4GuVM6zi/qIdwWkNqxv9M=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Q1Md09ODE5BTdbVy+vWNJsCOgdms43Jzdwbi+rZJFqb46HrCaL1RyeuEkMjfIvILmvito7JwBq+81SnTS/X+VFkMnsvrnbJBRg79iJpdsCuoH4iruKNTh8KfhYKQH9jFz06QlTTmm1B61H5yNOLmdZXCceUJ+iJY5hSU5iMM4d0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=fR08/BQr; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44S3ALGB027334; Mon, 27 May 2024 22:10:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716865821; bh=eEsT4srTKRGe7+Ko1C0Nkp4GuVM6zi/qIdwWkNqxv9M=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=fR08/BQrpOqaEF4dHN8UYTDRRhmjUhwfQweBtwBN3RqINxzL4zg7DIACKR4GX5Jb3 gk7FGT40SxL8oiP7l3LnbHFft0rFYeDNGyI0CqEniSVnF9EPRWKa9/apCyGbvNSlWk yyZu249yoRwfbLS2ar4JUxgv6611Ha96fZDvl5eQ= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44S3ALK4126245 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 May 2024 22:10:21 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 27 May 2024 22:10:21 -0500 Received: from DLEE101.ent.ti.com ([fe80::91ee:60bc:bfb7:851c]) by DLEE101.ent.ti.com ([fe80::91ee:60bc:bfb7:851c%18]) with mapi id 15.01.2507.023; Mon, 27 May 2024 22:10:21 -0500 From: "Ding, Shenghao" To: Pierre-Louis Bossart , "broonie@kernel.org" CC: "andriy.shevchenko@linux.intel.com" , "lgirdwood@gmail.com" , "perex@perex.cz" , "13916275206@139.com" <13916275206@139.com>, "alsa-devel@alsa-project.org" , "Salazar, Ivan" , "linux-kernel@vger.kernel.org" , "Chadha, Jasjot Singh" , "liam.r.girdwood@intel.com" , "Yue, Jaden" , "yung-chuan.liao@linux.intel.com" , "Rao, Dipa" , "Lu, Kevin" , "yuhsuan@google.com" , "tiwai@suse.de" , "Xu, Baojun" , "soyer@irl.hu" , "Baojun.Xu@fpt.com" , "judyhsiao@google.com" , "cujomalainey@google.com" , "Kutty, Aanya" , "Mahmud, Nayeem" , "Navada Kanyana, Mukund" Subject: RE: [EXTERNAL] Re: [PATCH v2] ASoc: tas2781: Playback can work when only RCA binary loading without dsp firmware loading Thread-Topic: [EXTERNAL] Re: [PATCH v2] ASoc: tas2781: Playback can work when only RCA binary loading without dsp firmware loading Thread-Index: AQHarkWK7iKbbU+59EqlRKOrGPAfoLGrbykAgABlWfA= Date: Tue, 28 May 2024 03:10:21 +0000 Message-ID: References: <20240525014727.197-1-shenghao-ding@ti.com> <6a8ab4f6-63be-4284-814a-d853faf000b5@linux.intel.com> In-Reply-To: <6a8ab4f6-63be-4284-814a-d853faf000b5@linux.intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-exclaimer-md-config: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 VGhhbmtzIGZvciB5b3VyIGNvbW1lbnRzLg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0t DQo+IEZyb206IFBpZXJyZS1Mb3VpcyBCb3NzYXJ0IDxwaWVycmUtbG91aXMuYm9zc2FydEBsaW51 eC5pbnRlbC5jb20+DQo+IFNlbnQ6IE1vbmRheSwgTWF5IDI3LCAyMDI0IDk6NDQgUE0NCj4gVG86 IERpbmcsIFNoZW5naGFvIDxzaGVuZ2hhby1kaW5nQHRpLmNvbT47IGJyb29uaWVAa2VybmVsLm9y Zw0KPiBDYzogYW5kcml5LnNoZXZjaGVua29AbGludXguaW50ZWwuY29tOyBsZ2lyZHdvb2RAZ21h aWwuY29tOw0KPiBwZXJleEBwZXJleC5jejsgMTM5MTYyNzUyMDZAMTM5LmNvbTsgYWxzYS1kZXZl bEBhbHNhLXByb2plY3Qub3JnOw0KPiBTYWxhemFyLCBJdmFuIDxpLXNhbGF6YXJAdGkuY29tPjsg bGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZzsgQ2hhZGhhLA0KPiBKYXNqb3QgU2luZ2ggPGot Y2hhZGhhQHRpLmNvbT47IGxpYW0uci5naXJkd29vZEBpbnRlbC5jb207IFl1ZSwgSmFkZW4NCj4g PGphZGVuLXl1ZUB0aS5jb20+OyB5dW5nLWNodWFuLmxpYW9AbGludXguaW50ZWwuY29tOyBSYW8s IERpcGENCj4gPGRpcGFAdGkuY29tPjsgTHUsIEtldmluIDxrZXZpbi1sdUB0aS5jb20+OyB5dWhz dWFuQGdvb2dsZS5jb207DQo+IHRpd2FpQHN1c2UuZGU7IFh1LCBCYW9qdW4gPGJhb2p1bi54dUB0 aS5jb20+OyBzb3llckBpcmwuaHU7DQo+IEJhb2p1bi5YdUBmcHQuY29tOyBqdWR5aHNpYW9AZ29v Z2xlLmNvbTsgTmF2YW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