Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

From: Bo Shen
Date: Wed Jul 03 2013 - 21:15:20 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/