Merge "asoc: wcd938x: wakeup device during headset detection"

This commit is contained in:
qctecmdr 2019-06-22 11:15:10 -07:00 • committed by Gerrit - the friendly Code Review server
commit 9d2c763b36

View file

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