ASoC: Tegra: Reset dcnt after each loop
authorSumit Bhattacharya <sumitb@nvidia.com>
Thu, 2 May 2013 15:46:54 +0000 (20:46 +0530)
committerHarshada Kale <hkale@nvidia.com>
Fri, 3 May 2013 08:02:28 +0000 (01:02 -0700)
commit81def49957935d33b193bd54ebc52fd807dade32
treef5a560c36cff5b2723be56cef726fba553f04200
parent5d78cccb04fede95c6c1b9f90bea17da01314c6d
ASoC: Tegra: Reset dcnt after each loop

After each loop which decrements dcnt, dcnt should be reset to initial
value. Otherwise in failure condition next loop exit condition will
always fail.

Bug 1281310
Bug 1255915

Change-Id: I6b61f9bea8bee95d90fa05c4fb61a8b7c22be0b0
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/224923
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
sound/soc/tegra/tegra30_i2s.c