Merge "asoc: codecs: Fix LPASS register access during bootup"

This commit is contained in:
qctecmdr authored and Gerrit - the friendly Code Review server committed 2021-07-08 20:30:27 -07:00
commit de549a6f75
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -2004,7 +2004,8 @@ static int msm_sdw_probe(struct platform_device *pdev)
int adsp_state;
adsp_state = apr_get_subsys_state();
if (adsp_state != APR_SUBSYS_LOADED) {
if (adsp_state != APR_SUBSYS_LOADED ||
!q6core_is_adsp_ready()) {
dev_err(&pdev->dev, "Adsp is not loaded yet %d\n",
adsp_state);
return -EPROBE_DEFER;
+2 -1
View File
@@ -4656,7 +4656,8 @@ static int msm_anlg_cdc_probe(struct platform_device *pdev)
int adsp_state;
adsp_state = apr_get_subsys_state();
if (adsp_state != APR_SUBSYS_LOADED) {
if (adsp_state != APR_SUBSYS_LOADED ||
!q6core_is_adsp_ready()) {
dev_err(&pdev->dev, "Adsp is not loaded yet %d\n",
adsp_state);
return -EPROBE_DEFER;