tegra-alt: adsp: wait for adsp ack on reset
authorViraj Karandikar <vkarandikar@nvidia.com>
Wed, 26 Aug 2015 11:54:55 +0000 (16:54 +0530)
committerSumit Bhattacharya <sumitb@nvidia.com>
Mon, 14 Sep 2015 12:28:59 +0000 (05:28 -0700)
commit6a4a2211bfd1561d96ace832e1b45bee23d9ef3d
tree74b667f91d154cbfd57a46079ef6127c292d0947
parent095a5b865394467aeb4ba99b68f178f3850666b4
tegra-alt: adsp: wait for adsp ack on reset

Add mechanism to wait for ADSP acknowledgement.

ACK is requested when resetting to ensure that ADSP is
suspended only after APM stop processing is complete.
This prevents case of ADMA not getting stopped/reset
before suspend.

Bug 200130757

Change-Id: Ia86a31c996d40192210837e61aa95d8f920ee7f5
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/772220
(cherry picked from commit 72a04194685b299a959ecf64b92ba7f160e197f0)
Reviewed-on: http://git-master/r/795560
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
include/sound/tegra_nvfx_apm.h
sound/soc/tegra-alt/tegra210_adsp_alt.c