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

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

Merge "ASoC: wcd9320: Fix null pointer access for event callback"

parents 1ae3c551 a165e62d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -7068,7 +7068,10 @@ static int taiko_post_reset_cb(struct wcd9xxx *wcd9xxx)
		else
			taiko_hs_detect(codec, taiko->mbhc.mbhc_cfg);
	}
	taiko->machine_codec_event_cb(codec, WCD9XXX_CODEC_EVENT_CODEC_UP);

	if (taiko->machine_codec_event_cb)
		taiko->machine_codec_event_cb(codec,
				      WCD9XXX_CODEC_EVENT_CODEC_UP);

	taiko_cleanup_irqs(taiko);
	ret = taiko_setup_irqs(taiko);