From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: Re: About snd_dmaengine_pcm_trigger() Date: Mon, 10 Mar 2014 21:47:20 -0700 (PDT) Message-ID: <87pplttk8d.wl%kuninori.morimoto.gx@gmail.com> References: <87eh2hql03.wl%kuninori.morimoto.gx@gmail.com> <5316D562.3010901@metafoo.de> <874n3dqc4j.wl%kuninori.morimoto.gx@gmail.com> <5316EC79.4090202@metafoo.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) by alsa0.perex.cz (Postfix) with ESMTP id CCAED2608E8 for ; Tue, 11 Mar 2014 05:47:22 +0100 (CET) Received: by mail-pb0-f42.google.com with SMTP id rr13so8303793pbb.29 for ; Mon, 10 Mar 2014 21:47:21 -0700 (PDT) In-Reply-To: <5316EC79.4090202@metafoo.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Lars-Peter Clausen Cc: Linux-ALSA , Simon , Mark Brown , Kuninori Morimoto , Liam Girdwood List-Id: alsa-devel@alsa-project.org Hi Lars, Mark > Make them ASoC components ;) I don't know the hardware, but looking at the > code it doesn't seem to be that different from other modern host side audio > processing units. But one step at a time, first maybe try and see if you can > switch over to using the dmaengine PCM helper functions. Then later thing > about how this all can be better integrated into the ASoC framework. In my quick check, I guess, my drivers (FSI/rcar) can use ${LINUX}/sound/core/pcm_dmaengine.c methods as 1st step. OTOH, these drivers has PIO transfer too. So, if ALSA has PIO method like pcm_pio.c (?) which has similar method, it seems easy to switch over. But what do you think ? Best regards --- Kuninori Morimoto