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: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2019-06-10 23:47:06 +05:30
committed by Gerrit - the friendly Code Review server
vanhempi 45d02bcf0b
commit 6a9cb8b6bd

Näytä tiedosto

@@ -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;
}