Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D5E7C4363A for ; Mon, 21 Sep 2020 18:16:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3009C20888 for ; Mon, 21 Sep 2020 18:16:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="JofhSZ/H"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="WHzjkPLU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3009C20888 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AA09216CE; Mon, 21 Sep 2020 20:16:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AA09216CE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1600712210; bh=B0lTopjUsZvd6EwUQKoaTB0VIJdDhLa/FoNy2iC4GY8=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JofhSZ/HMP4y7p8z09gxLbTL4m1+zKBz2M8xk1OvMN/RXre74zyUYpilvPCvMWV45 7YmFcdGVUK6kwuiovmpdVqeWc1MmEnjHIRy5S/M3lHfhORgHM/OJuqEZ8AipkF0dRE /XnkjUSWrKkhm6UYe8Nz/O8nNj7HOPXo/tOqsRZU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 16D08F801EC; Mon, 21 Sep 2020 20:15:51 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 44316F8020B; Mon, 21 Sep 2020 20:15:50 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 36270F80161 for ; Mon, 21 Sep 2020 20:15:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 36270F80161 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="WHzjkPLU" Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BD1D0207BC; Mon, 21 Sep 2020 18:15:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600712140; bh=B0lTopjUsZvd6EwUQKoaTB0VIJdDhLa/FoNy2iC4GY8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WHzjkPLUyulhDS56PsChZaKdCQ8FBwX2TvVV4HeP3k1Z6TX3ph5zi9aJ+PWA9Bxrk cKJc2O09nZpKsqCYR4NlHUcwLBUcxLQO7diwaTZBVNSskN5DhdgzaA5N/6LiB6RX6V W8jQ/m8hjttf2HvfZJV4nlyQEPfscuuLlch8xsMw= Date: Mon, 21 Sep 2020 19:14:47 +0100 From: Mark Brown To: Sameer Pujar Subject: Re: No ack() calback in component driver Message-ID: <20200921181447.GE4792@sirena.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lkTb+7nhmha7W+c3" Content-Disposition: inline In-Reply-To: X-Cookie: Love thy neighbor, tune thy piano. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: sharadg@nvidia.com, Linux-ALSA , atalambedu@nvidia.com, Kuninori Morimoto X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --lkTb+7nhmha7W+c3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 21, 2020 at 06:32:48PM +0530, Sameer Pujar wrote: > With your commit e2cb4a14541d ("ASoC: soc-core: merge snd_pcm_ops member to > component driver") snd_pcm_ops is replaced with callback functions in > component driver. In doing so, ack() callback was not retained in component > driver. > Was this intentional because there were no users of ack() or if there were > other reasons? I can't see any reason not to allow components to have an ack() operation so I'd guess it was just lack of use. --lkTb+7nhmha7W+c3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl9o7ZYACgkQJNaLcl1U h9DNiwf/cUqzkkB8LWl/6A8jcFhb4aX15j7nmen7pIrwuigmia1mpfhyxSVwVCyR tYmWthtiSArNacD0qUiebEzbuxBCy7KpG5zdNo1RpqjTSiCKagjMURUt0oaL2IUn Bf+8CI7FZl1x4DO1Jsuh6GF17fES9qZeTxZkV5ExVSDh3QMtGxvV+tGGaLFbOrKa KXFi6oVivtJCSOvcgP0pJgZkv1bD6lyEcM2VEQ8OERUGvxWcmyo2wlvmnixyIoei vJA+wzt9R0IPdPoqRwZC2Qk6GKiIdkwBG4IriOTl38xvv0yA1pFUywS9Lssy9Fga 7eZBpBvEhOfC/RT1fIiaWqZAIJHnfw== =eKXC -----END PGP SIGNATURE----- --lkTb+7nhmha7W+c3--