Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932575Ab3GCMV2 (ORCPT ); Wed, 3 Jul 2013 08:21:28 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:33731 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756125Ab3GCMV1 (ORCPT ); Wed, 3 Jul 2013 08:21:27 -0400 MIME-Version: 1.0 In-Reply-To: <51D29927.80900@atmel.com> References: <1372667978-4718-1-git-send-email-richard.genoud@gmail.com> <1372667978-4718-2-git-send-email-richard.genoud@gmail.com> <51D24299.9050209@atmel.com> <51D29927.80900@atmel.com> From: Richard Genoud Date: Wed, 3 Jul 2013 14:21:06 +0200 Message-ID: Subject: Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support To: Bo Shen Cc: devicetree-discuss@lists.ozlabs.org, Nicolas Ferre , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1399 Lines: 46 2013/7/2 Bo Shen : > Hi Richard, > > > On 7/2/2013 16:13, Richard Genoud wrote: >>> >>> Please hold on of this, as to the ASoC dmaengine will deal with this. So, >>> we >>> >not need do it manually. >>> > >>> >Now, I am working on it. And will send out the patch soon after testing >>> > OK. >> >> Ok, I stay tuned ! > > > I think you can go on working with the two patches I send just now. > [1]: ASoC: atmel_ssc_dai: move set dma data to startup callback > https://patchwork.kernel.org/patch/2811241/ > > [2]: ASoC: atmel-pcm: use generic dmaengine framework > https://patchwork.kernel.org/patch/2811261/ > > I use your patches 4 ~ 8 do a quick testing, it works. Please note the name > of asound.state under /etc in your rootfs should the same with atmel,model > in patch 6. Thanks for testing ! I was just doing the same test, it works with aplay -Dplug:default good_music.wav but there's a violent hang (kernel stops, no trace) when I try the record : arecord -v -V stereo -Dplug:default -f cd -t wav -c 2 /tmp/toto.wav last thing I see is : dma dma0chan3: atc_control (3) I'll try to trace that. Best regards, Richard. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/