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)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:37:02 +0000 (17:37 +0800)
commitba9c20b18c3df06b305c1dbec179400910425f0c
treee70ede7debb9c1ecf99b54e3f4acb1338ccbcb2b
parentb75dcf5ed2ef52670e14c555f6c1825a51f72511
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