Loading asoc/codecs/msm_sdw/msm_sdw_cdc.c +6 −2 Original line number Diff line number Diff line Loading @@ -323,7 +323,8 @@ static int msm_sdw_ahb_write_device(struct msm_sdw_priv *msm_sdw, { u32 temp = (u32)(*value) & 0x000000FF; if (!msm_sdw->dev_up) { if (!msm_sdw->dev_up || !q6core_is_adsp_ready()) { dev_err_ratelimited(msm_sdw->dev, "%s: q6 not ready\n", __func__); return 0; Loading @@ -338,7 +339,8 @@ static int msm_sdw_ahb_read_device(struct msm_sdw_priv *msm_sdw, { u32 temp; if (!msm_sdw->dev_up) { if (!msm_sdw->dev_up || !q6core_is_adsp_ready()) { dev_err_ratelimited(msm_sdw->dev, "%s: q6 not ready\n", __func__); return 0; Loading Loading @@ -1756,7 +1758,9 @@ static int msm_sdw_notifier_service_cb(struct notifier_block *nb, initial_boot = false; break; } mutex_lock(&msm_sdw->cdc_int_mclk1_mutex); msm_sdw->int_mclk1_enabled = false; mutex_unlock(&msm_sdw->cdc_int_mclk1_mutex); msm_sdw->dev_up = false; snd_soc_card_change_online_state( msm_sdw->codec->component.card, 0); Loading Loading
asoc/codecs/msm_sdw/msm_sdw_cdc.c +6 −2 Original line number Diff line number Diff line Loading @@ -323,7 +323,8 @@ static int msm_sdw_ahb_write_device(struct msm_sdw_priv *msm_sdw, { u32 temp = (u32)(*value) & 0x000000FF; if (!msm_sdw->dev_up) { if (!msm_sdw->dev_up || !q6core_is_adsp_ready()) { dev_err_ratelimited(msm_sdw->dev, "%s: q6 not ready\n", __func__); return 0; Loading @@ -338,7 +339,8 @@ static int msm_sdw_ahb_read_device(struct msm_sdw_priv *msm_sdw, { u32 temp; if (!msm_sdw->dev_up) { if (!msm_sdw->dev_up || !q6core_is_adsp_ready()) { dev_err_ratelimited(msm_sdw->dev, "%s: q6 not ready\n", __func__); return 0; Loading Loading @@ -1756,7 +1758,9 @@ static int msm_sdw_notifier_service_cb(struct notifier_block *nb, initial_boot = false; break; } mutex_lock(&msm_sdw->cdc_int_mclk1_mutex); msm_sdw->int_mclk1_enabled = false; mutex_unlock(&msm_sdw->cdc_int_mclk1_mutex); msm_sdw->dev_up = false; snd_soc_card_change_online_state( msm_sdw->codec->component.card, 0); Loading