From: Kuninori Morimoto Subject: [PATCH 0/4] ASoC: fsi/rsnd: cyclic transfer support Date: Thu, 05 Jun 2014 01:58:08 -0700 (PDT) Message-ID: <87mwdrivhe.wl%kuninori.morimoto.gx@gmail.com> 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-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by alsa0.perex.cz (Postfix) with ESMTP id 7152A2650F5 for ; Thu, 5 Jun 2014 10:58:13 +0200 (CEST) Received: by mail-pb0-f48.google.com with SMTP id rr13so819696pbb.35 for ; Thu, 05 Jun 2014 01:58:09 -0700 (PDT) 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: Mark Brown Cc: Linux-ALSA , Kuninori Morimoto , cm-hiep@jinso.co.jp, Liam Girdwood , bd-phuc@jinso.co.jp, nx-nui@jinso.co.jp, Simon , h-inayoshi@jinso.co.jp, m-miura@jinso.co.jp, nv-dung@jinso.co.jp List-Id: alsa-devel@alsa-project.org Hi Mark Current Renesas sound driver (= FSI/RSND) is not using ALSA common DMAEngine method for some reasons. The 1st reason was that Renesas DMA didn't support cyclic transfer mode. But now, it is supported ! These patches support cyclic transfer for FSI/RSND It needs this branch git://git.infradead.org/users/vkoul/slave-dma.git :: next especially dfbb85cab5f0819d0424a3637b03e7892704fa42 (DMA: shdma: add cyclic transfer support) These are based on mark/topic/rcar branch But, #4 patch needs mark/fix/rcar merge Kuninori Morimoto (4): ASoC: fsi: use SNDRV_DMA_TYPE_DEV for sound buffer ASoC: fsi: add fsi_pointer_update() for common pointer method ASoC: fsi: use dmaengine_prep_dma_cyclic() for DMA transfer ASoC: rsnd: use dmaengine_prep_dma_cyclic() instead of original method arch/arm/mach-shmobile/board-armadillo800eva.c | 4 + arch/arm/mach-shmobile/board-kzm9g.c | 2 + arch/arm/mach-shmobile/board-mackerel.c | 4 + arch/sh/boards/mach-ecovec24/setup.c | 2 + sound/soc/sh/fsi.c | 189 +++++++----------------- sound/soc/sh/rcar/core.c | 76 +++------- sound/soc/sh/rcar/rsnd.h | 4 - 7 files changed, 82 insertions(+), 199 deletions(-) Best regards --- Kuninori Morimoto