asoc: tegra: WAR: Check AVP id before setting DMA
authorShashank Sharma <shashanks@nvidia.com>
Fri, 28 Sep 2012 10:59:24 +0000 (15:59 +0530)
committerMrutyunjay Sawant <msawant@nvidia.com>
Fri, 5 Oct 2012 10:16:12 +0000 (03:16 -0700)
commit007fd7b1ae101c5be2a3d35ad11e7190862c04ca
tree18a7b422cc580a43a5d80d3cc34f2631b373cef8
parentf1993e1ec3865d4c3bf663397df68625ecf02630
asoc: tegra: WAR: Check AVP id before setting DMA

WAR to check souncard data's avp_id before trying to set
DMA address. An invalid avp_id can cause invlaid rtd, causing
panic in control ioctl calls.

Bug 1046249
Bug 1044761
Bug 1049940
Bug 1050152

Change-Id: Ib536220fdb92f8256c777d6fa14b66e47bc6b7be
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/134426
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
sound/soc/tegra/tegra_asoc_utils.c