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)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:05:58 +0000 (13:05 -0700)
commit24126faf25ef20603c2628b5a767ecd45d52eb3f
treedd02aa251d95f3e9a81e68efcade531f23021375
parent479937d02de0b82d5aec75bb95d67b18aa52adab
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

Reviewed-on: http://git-master/r/204524
(cherry picked from commit 04ef9a3374c361821390deaeca9b94a3b7181366)

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