ASoC: atmel_ssc_dai: move set dma data to startup callback

move set dma data to startup callback function, if the set dma
data exist in hw_params callback, so the dma data only usable when
call hw_params, if want use it before hw_params callback, it will
cause NULL pointer access oops

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ASoC: atmel_ssc_dai: add error mask define

add error mask define, which will be used when execute DMA transfer

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ASoC: atmel-pcm-dma: move prepare for dma to dai prepare

as prepare callback for dma is acctually access ssc register
which better done in dai driver, so move it to dai prepare
callback function

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ASoC: atmel-pcm: use generic dmaengine framework

Align atmel pcm to use ASoC generic dmaengine framework

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ASoC: atmel: add wm8904 based audio machine driver

Add wm8904 based audio machine driver for Atmel EK board

The following ek board based on it
  - at91sam9n12ek
  - sama5d3xek (d31, d33, d34, d35)

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ARM: sama5: add SSC DMA parameters

Add DMA parameters for SSC0 and SSC1

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ARM: sama5: correct sound compatible string

As the driver for sound compatible changed, so correct it

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ARM: sama5: sound: add MICBIAS widget

Add missing MICBIAS widget

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ASoC: atmel_ssc_dai: correct the clock pin

On sama5ek board, the clock is from RK pin while not TK pin

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ASoC: atmel_ssc_dai: disable interrupt when prepare

When the overrun interrupt is enabled, once it is triggered, then
can not clear it anymore, which will occupy 100% source of cpu,
it seems the system hang. Temp disable it.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ASoC: wm8904: temp disable reg cache mechanism

When enable reg cache mechanism, it will cause register corrupt,
so temp disable it

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ARM: sama5: remove i2c dma parameter

when enable sound support, we need use dma channel, remove dma
parameter of i2c to reserve dma channel for sound

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Merge remote-tracking branch 'linux-3.10-at91-audio' into linux-3.10-at91