sound: soc: tegra: Add RX and TX channel reset
authorNitin Nagaraja <nitinn@nvidia.com>
Fri, 26 Apr 2013 11:19:55 +0000 (16:19 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:15:17 +0000 (13:15 -0700)
commita88aa6ce5a11059d9424ced0c3593517c66427dc
tree3a710d2c7df0513207424933fd07ec2f14ff1cc7
parent2461b6c2d78ecdfe2612897c22cca20751d0d56f
sound: soc: tegra: Add RX and TX channel reset

When the same APBIF channel is used for repeated recording and
switching between I2S and TDM mode, there is corruption and hang.
Adding soft reset to that channel during allocation of the FIFOs
fixes the issue.

Bug 1224769

Change-Id: I7b7483ffeca347a021892d9bc47a3f9005602500
Signed-off-by: Nitin Nagaraja <nitinn@nvidia.com>
Reviewed-on: http://git-master/r/223344
(cherry picked from commit 532d07c2fbc7fa07e7649cd587332439cc3ac6d8)
Reviewed-on: http://git-master/r/227397
Reviewed-by: Nitin Pai <npai@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
sound/soc/tegra/tegra30_ahub.c