snd_soc_jack_get_type(9)

snd_soc_jack_get_type9

Based on the mic bias value, this function returns the type of jack from the zones declared in the jack type

Usage

int snd_soc_jack_get_type(struct snd_soc_jack * jack, int micbias_voltage);

Arguments

jack

ASoC jack

micbias_voltage

mic bias voltage at adc channel when jack is plugged in

Overview

Based on the mic bias value passed, this function helps identify the type of jack from the already declared jack zones

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.