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

Philippe Rétornaz philippe.retornaz at epfl.ch
Fri Jul 8 10:11:25 EDT 2011


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



More information about the linux-arm-kernel mailing list