asoc: tegra: aic326x: Fix DAM allocation for BT voice call
authorRahul Mittal <rmittal@nvidia.com>
Wed, 27 Feb 2013 09:55:30 +0000 (14:55 +0530)
committerMandar Padmawar <mpadmawar@nvidia.com>
Wed, 6 Mar 2013 08:46:08 +0000 (00:46 -0800)
commit04ef9a3374c361821390deaeca9b94a3b7181366
treea94ad59a31b2b89005170171af00af7d1ebd2588
parente833ce3a44d057638d157103b6bf76b13558033d
asoc: tegra: aic326x: Fix DAM allocation for BT voice call

Added a check to not allocate call record DAMs if it is a BT call
BT call requires 2 DAMs, and since we have only 3 DAMs,
we can't allocate the 2 DAMs that are needed for call recording

Fixed system sound mixing during BT call

Bug 1242683

Change-Id: I515ac5627c9221ada5a6d4491d6a37ad38c3196f
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/204524
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>
sound/soc/tegra/tegra_aic326x.c