Searched refs:gpio_mic_det (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/sound/soc/tegra/
H A Dtegra_max98090.c45 int gpio_mic_det; member in struct:tegra_max98090
163 if (gpio_is_valid(machine->gpio_mic_det)) { tegra_max98090_asoc_init()
170 tegra_max98090_mic_jack_gpio.gpio = machine->gpio_mic_det; tegra_max98090_asoc_init()
188 if (gpio_is_valid(machine->gpio_mic_det)) { tegra_max98090_card_remove()
241 machine->gpio_mic_det = tegra_max98090_probe()
243 if (machine->gpio_mic_det == -EPROBE_DEFER) tegra_max98090_probe()
/linux-4.4.14/sound/soc/generic/
H A Dsimple-card.c34 int gpio_mic_det; member in struct:simple_card_data
202 if (gpio_is_valid(priv->gpio_mic_det)) { asoc_simple_card_dai_init()
208 simple_card_mic_jack_gpio.gpio = priv->gpio_mic_det; asoc_simple_card_dai_init()
505 priv->gpio_mic_det = of_get_named_gpio_flags(node,
508 if (priv->gpio_mic_det == -EPROBE_DEFER)
561 priv->gpio_mic_det = -ENOENT; asoc_simple_card_probe()
632 if (gpio_is_valid(priv->gpio_mic_det)) asoc_simple_card_remove()

Completed in 82 milliseconds