Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdaa945a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: sm8150: sleep before sending q6core ready query"

parents ae6ae5d2 e2735a8a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* 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
@@ -3838,6 +3838,8 @@ static int msm_adsp_power_up_config(struct snd_soc_codec *codec,
	timeout = jiffies +
		msecs_to_jiffies(ADSP_STATE_READY_TIMEOUT_MS);

	/* sleep for 100ms before querying AVS up */
	msleep(100);
	do {
		if (!snd_card_online) {
			snd_card_online = snd_card_is_online_state(card);