04 Sep, 2013

1 commit

  • As once the error interrupt is triggered, it can not be cleared.
    So, disable it.

    No side effect found while testing on sama5d3xek and at91sam9x5ek
    boards.

    Signed-off-by: Bo Shen
    Acked-by: Nicolas Ferre
    Signed-off-by: Mark Brown

    Bo Shen
     

22 Aug, 2013

1 commit


07 Aug, 2013

1 commit

  • Description of the Asoc machine driver for an at91sam9x5 based board
    with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a
    master on the SSC/I2S interface. Its connections are a headphone jack
    and an Line input jack.

    [Richard: this is based on an old patch from Nicolas that I forward
    ported and reworked to use only device tree]

    Signed-off-by: Nicolas Ferre
    Signed-off-by: Richard Genoud
    Signed-off-by: Mark Brown

    Nicolas Ferre
     

20 Jul, 2013

1 commit


16 Jul, 2013

1 commit


15 Jul, 2013

4 commits


13 May, 2013

1 commit


18 Apr, 2013

1 commit


17 Apr, 2013

1 commit

  • Refactor the dmaengine PCM library to allow the DMA channel to be requested
    before opening a PCM substream. snd_dmaengine_pcm_open() now expects a DMA
    channel instead of a filter function and filter parameter as its parameters.
    snd_dmaengine_pcm_close() is updated to not release the DMA channel. This allows
    a dmaengine based PCM driver to request its channels before the substream is
    opened.

    The patch also introduces two new functions, snd_dmaengine_pcm_open_request_chan()
    and snd_dmaengine_pcm_close_release_chan(), which have the same signature and
    behaviour of the old snd_dmaengine_pcm_{open,close}() and internally use the new
    variants of these functions. All users of snd_dmaengine_pcm_{open,close}() are
    updated to use snd_dmaengine_pcm_open_request_chan() and
    snd_dmaengine_pcm_close_release_chan().

    Signed-off-by: Lars-Peter Clausen
    Tested-by: Stephen Warren
    Tested-by: Shawn Guo
    Signed-off-by: Mark Brown

    Lars-Peter Clausen
     

12 Apr, 2013

2 commits


04 Apr, 2013

1 commit


27 Mar, 2013

1 commit


26 Mar, 2013

2 commits


04 Mar, 2013

1 commit


05 Feb, 2013

4 commits


24 Dec, 2012

1 commit


09 Dec, 2012

1 commit


02 Dec, 2012

2 commits

  • Specify overrun bit in interrupt mask
    Add dmaengine specific routines

    Signed-off-by: Nicolas Ferre
    [voice.shen@atmel.com: adapt to soc dmaengine framework]
    Signed-off-by: Bo Shen
    Signed-off-by: Mark Brown

    Bo Shen
     
  • This patch is split original atmel-pcm.c into new atmel-pcm.c and
    atmel-pcm-pdc.c two files. The new atmel-pcm.c is the share routine
    while will be used for pdc or dma transfer.

    Using SND_ATMEL_SOC_PDC to select using PDC for audio transfer

    Signed-off-by: Bo Shen
    Signed-off-by: Mark Brown

    Bo Shen
     

16 Nov, 2012

3 commits


06 Nov, 2012

1 commit


02 Feb, 2012

2 commits


20 Jan, 2012

1 commit


11 Jan, 2012

1 commit

  • commit 739be96 "ASoC: Fix build dependency for SND_ATMEL_SOC_SSC"
    introduces below build warnings:

    drivers/misc/Kconfig:212:error: recursive dependency detected!
    drivers/misc/Kconfig:212: symbol ATMEL_SSC is selected by SND_ATMEL_SOC_SSC
    sound/soc/atmel/Kconfig:9: symbol SND_ATMEL_SOC_SSC is selected by SND_AT91_SOC_SAM9G20_WM8731
    sound/soc/atmel/Kconfig:18: symbol SND_AT91_SOC_SAM9G20_WM8731 depends on ATMEL_SSC

    SND_ATMEL_SOC_SSC needs ATMEL_SSC to pass compilation.
    This patch remove the "select ATMEL_SSC" from SND_ATMEL_SOC_SSC to avoid above
    warnings. And then ensures all the machine drivers that select SND_ATMEL_SOC_SSC
    need to depend on ATMEL_SSC.

    Reported-by: Stephen Rothwell
    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

08 Jan, 2012

1 commit

  • This is a follow up on 53dea36c70c1857 which fixes the other affected
    pcm engines.

    Description from 53dea36c70c1857:
    Don't rely on the codec's channels_min information to decide wheter or
    not allocate a substream's DMA buffer. Rather check if the substream
    itself was allocated previously.

    Without this patch I was seeing null-pointer dereferenc in atmel-pcm.

    Signed-off-by: Joachim Eastwood
    Signed-off-by: Mark Brown

    Joachim Eastwood
     

06 Jan, 2012

1 commit

  • Make SND_ATMEL_SOC_SSC select ATMEL_SSC to fix below build errors:

    LD .tmp_vmlinux1
    sound/built-in.o: In function `atmel_ssc_remove':
    sound/soc/atmel/atmel_ssc_dai.c:713: undefined reference to `ssc_free'
    sound/built-in.o: In function `atmel_ssc_probe':
    sound/soc/atmel/atmel_ssc_dai.c:700: undefined reference to `ssc_request'
    sound/built-in.o: In function `atmel_ssc_set_audio':
    sound/soc/atmel/atmel_ssc_dai.c:845: undefined reference to `ssc_request'
    sound/soc/atmel/atmel_ssc_dai.c:851: undefined reference to `ssc_free'
    make: *** [.tmp_vmlinux1] Error 1

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

23 Dec, 2011

1 commit


25 Nov, 2011

1 commit


23 Nov, 2011

1 commit