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

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

Merge "ASoC: core: Fix possible NULL pointer dereference"

parents c786712e d450f10f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3326,6 +3326,7 @@ static int snd_soc_codec_set_bias_level(struct snd_soc_dapm_context *dapm,
 */
void snd_soc_card_change_online_state(struct snd_soc_card *soc_card, int online)
{
	if (soc_card && soc_card->snd_card)
		snd_card_change_online_state(soc_card->snd_card, online);
}
EXPORT_SYMBOL(snd_soc_card_change_online_state);