ASoC: cs47l35: use dsp running flag for dsp status
authorYoon (Seungyoon) Lee <w22905@motorola.com>
Tue, 30 Apr 2019 20:28:54 +0000 (15:28 -0500)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:32:03 +0000 (17:32 +0800)
commit5fdb91695f0eb7e37a4913b4c5bf9c9db0943c7d
tree66a643e69d31f4554d447e3850becee827a0b738
parentcc8919c7d6d65378ec1b860082f25164f3546208
ASoC: cs47l35: use dsp running flag for dsp status

instead of checking DSP memory address for DSP core status,
check the flag from wm_adsp to determine algorithm status.

Change-Id: I846afc671e708dedd9af52000a7eb76cc39adc3b
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1346616
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
sound/soc/codecs/cs47l35.c