[RFC PATCH] ARM ASoC: add sound driver for imx27pdk using mc13783 codec

Philippe Rétornaz
2011-07-08T14:11:25Z

Le vendredi 8 juillet 2011 15:24:51, J?rgen Lambrecht a ?crit :
> - Started from sound/soc/imx/phycore-mc13783.c
> - Renamed to general "imx" because also valid for imx27pdk (3ds) and other
> 3ds platforms. Or should there be a file per platform?

It's also valid on the mx31moboard platforms. So I guess it make sens to have
a general name.

> - Fixed some issues (add names, add read/write functions, changed
> late_initcall to module_init, configure clock input pin) - Add debug
> printing and comments.
> - Result:
> * soundcard detection;
> * after creating /dev entries, aplay runs;
> * both 'aplay song.wav' and 'madplay song.mp3' give the same error:
> a time-out waiting for DMA (ALSA pcm_lib.c:1802: playback write error
> (DMA or IRQ trouble?)) * this driver uses the DMA method; the FIQ method
> gives the same error

Does it mean this doesn't work at all to play sound ? IIRC Sascha driver used
to work with the non-dmaengine implementation on 2.6.34.

Thanks,

Philippe