[alsa-devel] ASoC: Davinci Voice codec compliant to arago kernel for dm365

Raffaele Recalcati lamiaposta71 at gmail.com
Fri Jul 16 11:47:17 CEST 2010


Hi Miguel,
I've used successfully the patches below on top of 2.6.34 Kevin Hilman
kernel for davinci
http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git

Now I need to backport your patches to arago kernel
http://arago-project.org/git/projects/linux-davinci.git
that means 2.6.32-rc1
I use able adapt your patches to it, but I guess that there are many changes
from 2.6.32-rc1 to 2.6.34 ...
Can you tell me what is the best thing to do?
I'm afraid you'll tell me that I need to rewrite completely your patches to
be really compliant to 2.6.32-rc1.

Here you are a not working 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
Thanks,
Raffaele


---------------

Author: Miguel Aguilar <miguel.aguilar at ridgerun.com>
Date:   Thu Mar 11 09:32:21 2010 -0600

    MFD: DaVinci Voice Codec

    This is the MFD driver for the DaVinci Voice codec, it has two clients:

    * Voice codec interface
    * Voice codec CQ93VC

    Signed-off-by: Miguel Aguilar <miguel.aguilar at ridgerun.com>
    Acked-by: Samuel Ortiz <sameo at linux.intel.com>
    Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
    Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

commit 94a532f7156582ec7459f21baa4de6665773974a
Author: Miguel Aguilar <miguel.aguilar at ridgerun.com>
Date:   Thu Mar 11 09:32:59 2010 -0600

    ASoC: DaVinci: CQ93VC Voice Codec

    Currently the DM365 is the only SoC that includes this Voice Codec.

    Signed-off-by: Miguel Aguilar <miguel.aguilar at ridgerun.com>
    Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
    Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

commit 80a6609eeb0995732318c7ab672767e39a111f3b
Author: Miguel Aguilar <miguel.aguilar at ridgerun.com>
Date:   Thu Mar 11 09:32:42 2010 -0600

    ASoC: DaVinci: Voice Codec Interface

    This patch adds the support for the interface needed by the DaVinci
    Voice Codec CQ93VC.

    Signed-off-by: Miguel Aguilar <miguel.aguilar at ridgerun.com>
    Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
    Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>




-- 
www.opensurf.it


More information about the Alsa-devel mailing list