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

Commit 6a9cb8b6 authored by Sudheer Papothi's avatar Sudheer Papothi Committed by Gerrit - the friendly Code Review server
Browse files

asoc: wcd938x: wakeup device during headset detection



Use soundwire device wakeup API to wakeup soundwire master
during headset plug detection.

Change-Id: Icddd558df382146bb2989926d2e92e627b5a844f
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 45d02bcf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -239,6 +239,11 @@ static void wcd938x_mbhc_program_btn_thr(struct snd_soc_component *component,

static bool wcd938x_mbhc_lock_sleep(struct wcd_mbhc *mbhc, bool lock)
{
	struct snd_soc_component *component = mbhc->component;
	struct wcd938x_priv *wcd938x = dev_get_drvdata(component->dev);

	wcd938x->wakeup((void*)wcd938x, lock);

	return true;
}