]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00171536 HDMI handle mmapped audio buffers
authorAlan Tull <r80115@freescale.com>
Thu, 26 Jan 2012 10:37:10 +0000 (04:37 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:54 +0000 (08:33 +0200)
commit252e004c6a5eb7e3f36a23f38cd8793141a0210e
treeb20ae64c0b771efc887fdc8321fcb005256451e0
parentfbd3370dbb611cfff22d2ced5c42c7398d3fae27
ENGR00171536 HDMI handle mmapped audio buffers

The ALSA userspace requires mmapped buffer access to support sample
rate conversion.

Our hardware requires the driver to add frame information to the pcm
data.  For non-mmap access, the snd_pcm_ops' copy routine will do it.
For mmap access, we have to do it in the isr.  This is not ideal, but
it will work.

Signed-off-by: Alan Tull <r80115@freescale.com>
sound/soc/imx/imx-hdmi-dma.c