asoc:tegra: Enable I2S tx in voice call
authorNikesh Oswal <noswal@nvidia.com>
Fri, 11 May 2012 14:23:27 +0000 (19:23 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 15 May 2012 01:34:48 +0000 (18:34 -0700)
commit71c2ea698d4c1c7d91247ebf638dd33f1563ac26
tree52be3329ea218931895345db652e2593be6f90ee
parentcee5b22929b92ac4a9a1d4d3921d4aa652fd1608
asoc:tegra: Enable I2S tx in voice call

Associated with I2S there is a playback ref count, when
we open the I2S for plyabck it is incremented and during
voice call we check if its not zero then enable the tX.
This logic fails if the start-trigger is not called for the prior
playback stream. Hence we unconditionally enable the tx,
which is harmless

Bug: 981806

Change-Id: I66aafda596e2b2b03745e93f3e851dedc3b8ef5d
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/101996
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
sound/soc/tegra/tegra30_i2s.c