From patchwork Thu May 5 11:12:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 569983 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 6B73FC433EF for ; Thu, 5 May 2022 11:13:41 +0000 (UTC) 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 D59AF17DC; Thu, 5 May 2022 13:12:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D59AF17DC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1651749218; bh=6LAlE2f0oq/Q9EDupen6WRIobCowc0EhusMRG11s37I=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=lWJOHDIgpzN6D+m3vnhGXREGVhqsn+UH+lINiE6o8pCJ9A9tE3umVv0Y4GQiGZ9Sm rOdv/RD+Z9i+GiG41Rtm5G+4xlhreCmZ9baOn/88XyQzJYldhq012zqc61QlWO9ju8 3Z3jNmuCXx2nLa6oLI7UmqBcgihATT4zIBof1wxY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 726CCF800D3; Thu, 5 May 2022 13:12:48 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 21D02F8016B; Thu, 5 May 2022 13:12:47 +0200 (CEST) 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 alsa1.perex.cz (Postfix) with ESMTPS id 8E96DF800D3 for ; Thu, 5 May 2022 13:12:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8E96DF800D3 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="iBTWotTZ" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 245BCacL128891; Thu, 5 May 2022 06:12:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1651749156; bh=PAwxuIdAzrk8KzNqgB6A6joePytPbjjtzpjZ8xBDjJ8=; h=From:To:CC:Subject:Date; b=iBTWotTZZ/QO+EGl1eA8JghbY4gZSsGdazFKAyvjiEMlcjq6EEhS+ivpNQiaE5Xmt FaIHJzWY6PJcsnjf8PSR9Fd2JN2UrWkpFC2lXu4ynxLuqnE7ski7QLPvLgKkPGibAH TpeiOGWR9Bbg+HmKEXJlwayPnH9XMY6HXEzU2EQg= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 245BCa8Q100090 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 May 2022 06:12:36 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 5 May 2022 06:12:35 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 5 May 2022 06:12:35 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 245BCYKY045210; Thu, 5 May 2022 06:12:35 -0500 From: Jai Luthra To: Peter Ujfalusi , Mark Brown Subject: [PATCH v2 RESEND] ASoC: ti: davinci-mcasp: Add dma-type for bcdma Date: Thu, 5 May 2022 16:42:26 +0530 Message-ID: <20220505111226.29217-1-j-luthra@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Jayesh Choudhary , Jai Luthra , Liam Girdwood , linux-kernel@vger.kernel.org, Takashi Iwai , alsa-devel@alsa-project.org 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" From: Jayesh Choudhary Set DMA type for ti-bcdma controller for AM62-SK. Acked-by: Peter Ujfalusi Signed-off-by: Jayesh Choudhary Signed-off-by: Jai Luthra --- Resending the ack-ed patch, as I missed cc'ing all maintainers. sound/soc/ti/davinci-mcasp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/ti/davinci-mcasp.c b/sound/soc/ti/davinci-mcasp.c index 2c146b91fca3..377be2e2b6ee 100644 --- a/sound/soc/ti/davinci-mcasp.c +++ b/sound/soc/ti/davinci-mcasp.c @@ -2047,6 +2047,8 @@ static int davinci_mcasp_get_dma_type(struct davinci_mcasp *mcasp) return PCM_SDMA; else if (strstr(tmp, "udmap")) return PCM_UDMA; + else if (strstr(tmp, "bcdma")) + return PCM_UDMA; return PCM_EDMA; }