asoc: tegra: Add PCM driver for TDM mode
authorNitin Pai <npai@nvidia.com>
Thu, 26 Apr 2012 13:34:54 +0000 (18:34 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 1 May 2012 21:25:50 +0000 (14:25 -0700)
commit24c1b0906d11919aae53d840b385be356183b4be
tree1713cd6afd2d721183ff8f931982bf56505cf069
parent30dee27a399ea53f18c714c7d6bf6a1a63090165
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]