Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756311Ab3GDBPM (ORCPT ); Wed, 3 Jul 2013 21:15:12 -0400 Received: from eusmtp01.atmel.com ([212.144.249.242]:13383 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754093Ab3GDBPL (ORCPT ); Wed, 3 Jul 2013 21:15:11 -0400 Message-ID: <51D4CC94.3020908@atmel.com> Date: Thu, 4 Jul 2013 09:15:00 +0800 From: Bo Shen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Richard Genoud CC: , Nicolas Ferre , , , =?UTF-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= Subject: Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support 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> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.168.5.13] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1129 Lines: 34 Hi Richard, On 7/3/2013 23:51, Richard Genoud wrote: >> >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 don't meet this issue. Playback and recording works well on my side on at91sam9g35ek board. >> >I'll try to trace that. > I think it's DMA related. > the last thing done by the kernel is: > i2c i2c-0: i2c_outb: 0x34 A > i2c i2c-0: i2c_outb: 0x0c A > i2c i2c-0: i2c_outb: 0x5a A > meaning: enable power on, LINE IN, ADC, OSC, on the WM8731 > so, after that, data is comming from the codec to the SSC and then is > handled by the DMA. > there must be something nasty on the DMA bus to hang everything like that... Will you try i2c without DMA support to test this issue? > Richard. Best Regards, Bo Shen -- 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/