ASOC: Tegra: Fix Tegra20 BT SCO playback/record
authorSumit Bhattacharya <sumitb@nvidia.com>
Mon, 20 Feb 2012 13:23:23 +0000 (18:23 +0530)
committerSimone Willett <swillett@nvidia.com>
Sat, 3 Mar 2012 04:39:37 +0000 (20:39 -0800)
commit34822909bd95327a6903fd4a466a30ea38683fb0
treef09a785f62ac9a58b58de59fd3d63360653e458a
parenta8173227dbc02c0d264382a71db5144036352763
ASOC: Tegra: Fix Tegra20 BT SCO playback/record

Set I2s FIFO attention level based on sample size and channel count.
Also set playback DMA destination bus width and capture DMA source bus
width based on sample size. These changes are needed to have proper
BT SCO playback and record which uses 16bit-mono format.

Bug 934101
Bug 874428
Bug 927978

Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/84817
(cherry picked from commit 3ca2eb665af450d7e8f3bf6f2471e31203052641)

Change-Id: I95c10716eaa990adb8b6ae535ce6acfca122a609
Reviewed-on: http://git-master/r/87192
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
sound/soc/tegra/tegra20_i2s.c
sound/soc/tegra/tegra_pcm.c