From patchwork Thu Apr 21 13:22:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 564444 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 CA891C433F5 for ; Thu, 21 Apr 2022 13:24:34 +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 0DC6C1925; Thu, 21 Apr 2022 15:23:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0DC6C1925 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650547473; bh=XmN2+7lvD8VPW/IQfGkVIUmZic3RjTclumrwX1JJq8Q=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=fpZN/goa+KvaAm01P2U+KTbgXP5wCvDn/IYbcwbHsOlPVfO4r3LslXG4i3Xat9ajv IaOOlD6lyExo5K8Ud1UiYH9r1ObNOgZ6TIZwbXBkdF5iqFM78nI/BwLbWq6vAcrsrH sz26bBRwawps7Hm0BaIZOLh0waGkR6/ERDexDMvo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 502D1F804FB; Thu, 21 Apr 2022 15:22:59 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id ABAB9F804DA; Thu, 21 Apr 2022 15:22:57 +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 823A1F804C1 for ; Thu, 21 Apr 2022 15:22:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 823A1F804C1 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="L1fTwpTa" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23LDMnHp065617; Thu, 21 Apr 2022 08:22:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1650547369; bh=EP8k7XQCY/wqajI+hdZuojwN/DMymzB4exFYpj/ZWQQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=L1fTwpTanY6JyIPxSYQvPVzx7x+VhaVsItBE+1KDzkNeUbX0f24emrukkc3kdVWPO jglFPiIZHLboGLaenn1BHrkuU3S7YV0IC16WDU/6u/mLu4jH1EsIWU+C/o7Zr0vjbU cCG20GhL+BMivwtDJdqm110KPS3VEZyUXTdNcBss= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23LDMnjR070373 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Apr 2022 08:22:49 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 21 Apr 2022 08:22:48 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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, 21 Apr 2022 08:22:48 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23LDMmDU078721; Thu, 21 Apr 2022 08:22:48 -0500 From: Jai Luthra To: Peter Ujfalusi , Nishanth Menon , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Jayesh Choudhary Subject: [PATCH 2/3] ASoC: ti: davinci-mcasp: Add dma-type for bcdma Date: Thu, 21 Apr 2022 18:52:23 +0530 Message-ID: <20220421132224.8601-3-j-luthra@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220421132224.8601-1-j-luthra@ti.com> References: <20220421132224.8601-1-j-luthra@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Jai Luthra , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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. Signed-off-by: Jayesh Choudhary Signed-off-by: Jai Luthra --- 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; }