Merge "asoc: codecs: Fix LPASS register access during bootup"
This commit is contained in:
commit
de549a6f75
2 files changed
+4
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user