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

This commit is contained in:
Linux Build Service Account 2019-09-03 14:02:14 -07:00 committed by Gerrit - the friendly Code Review server
commit b81152ef29
2 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -1871,7 +1871,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;

View file

@ -4575,7 +4575,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;