]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00233056 ALSA: adjust dma wm & buffersize configuration strategy
authorNicolin Chen <b42378@freescale.com>
Fri, 9 Nov 2012 07:44:33 +0000 (15:44 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:41 +0000 (08:35 +0200)
commitad764162e5ebe47d3dac7e64d6032587f0f1c51d
tree096c001dedc6b37345b943b9a1bbacab1c4aa633
parent1734bc28134bc480d95d6bba35bcb094fb004ff2
ENGR00233056 ALSA: adjust dma wm & buffersize configuration strategy

 Previously SSI/ESAI/SPDIF used one same-sized buffers and watermark(the
WM in the title) for every alsa driver.

 This patch allow each driver config its own buffer size and watermark,
which is obviously more flexible.

 Also, it sets SSI's buffersize from 256k to 64k.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
sound/soc/imx/imx-esai.h
sound/soc/imx/imx-pcm-dma-mx2.c
sound/soc/imx/imx-pcm.h
sound/soc/imx/imx-ssi.c
sound/soc/imx/imx-ssi.h