asoc: tegra: Add PCM driver for TDM mode
authorNitin Pai <npai@nvidia.com>
Thu, 26 Apr 2012 13:34:54 +0000 (18:34 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 4 May 2012 14:11:20 +0000 (19:11 +0530)
commit801ce39e71a641960049d759a7764603b70d1e15
treee155a12de4a17e3328b460ae108cae202d17ec28
parentc6ca6cbf0bedd5cc7be5f5262ddec40e49a07b8d
asoc: tegra: Add PCM driver for TDM mode

Modified existing pcm driver to take dma mode/ hw structure.
Exported the functions needed for other pcm mode driver.
Added new TDM mode hw param structure.
Added pass SINGLE/DOUBLE buffered dma mode params.

Bug 948478

Change-Id: I58309d52748f813b3303a8d6a052fbb6cc7ca87a
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/99146
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
sound/soc/tegra/Makefile
sound/soc/tegra/tegra_pcm.c
sound/soc/tegra/tegra_pcm.h
sound/soc/tegra/tegra_tdm_pcm.c [new file with mode: 0644]