I'm waiting for DVSDK release and I'm using r36 arago kernel.
I notice it is still not supported voice codec CONFIG_SND_SOC_CQ0093VC.
So I try a backport from 2.6.34 Kevin Hilman to 2.6.32 arago one ofthe following patches
MFD: DaVinci Voice Codec
ASoC: DaVinci: CQ93VC Voice Codec
ASoC: DaVinci: Voice Codec Interface
It compiles and all is recognized, but I have dma error.
Any idea what is the best to do?
The problem is in sound/soc/davinci/davinci-pcm.c file.
Here you are the log.
aplay tone1KHzMono_8000.wav
Playing WAVE 'tone1KHzMono_8000.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
davinci_pcm_prepare - 203
davinci_pcm_enqueue_dma - 77: period=2000,dma_offset=0,dma_pos=-2044854272
davinci_pcm: audio_set_dma_params_play channel = 79 dma_ptr = 861e0000 period_size=7d0
davinci_pcm_enqueue_dma - 84: data_type=0
davinci_pcm_enqueue_dma - 77: period=2000,dma_offset=2000,dma_pos=-2044852272
davinci_pcm: audio_set_dma_params_play channel = 79 dma_ptr = 861e07d0 period_size=7d0
davinci_pcm_enqueue_dma - 84: data_type=0
aplay: pcm_write:1528: write error: Input/output error