]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blobdiff - sound/soc/tegra/tegra_rt5639.c
ASoc: rt5639: Set audio CODEC IRQ as a wake up pin
[sojka/nv-tegra/linux-3.10.git] / sound / soc / tegra / tegra_rt5639.c
index fcea25dfe11aa0ee393c3814a4e71e95e5e4d126..28e81f761b979ca679a8e2c596666236f7020acb 100644 (file)
@@ -1036,6 +1036,7 @@ static int tegra_rt5639_init(struct snd_soc_pcm_runtime *rtd)
 
        if (gpio_is_valid(pdata->gpio_hp_det)) {
                tegra_rt5639_hp_jack_gpio.gpio = pdata->gpio_hp_det;
+               tegra_rt5639_hp_jack_gpio.wake = true;
                tegra_rt5639_hp_jack_gpio.invert =
                        !pdata->gpio_hp_det_active_high;
                snd_soc_jack_new(codec, "Headphone Jack", SND_JACK_HEADPHONE,