diff options
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r-- | sound/soc/soc-jack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index 12124149601e..3c07a94c2e30 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c | |||
@@ -163,6 +163,9 @@ static void snd_soc_jack_gpio_detect(struct snd_soc_jack_gpio *gpio) | |||
163 | else | 163 | else |
164 | report = 0; | 164 | report = 0; |
165 | 165 | ||
166 | if (gpio->jack_status_check) | ||
167 | report = gpio->jack_status_check(); | ||
168 | |||
166 | snd_soc_jack_report(jack, report, gpio->report); | 169 | snd_soc_jack_report(jack, report, gpio->report); |
167 | } | 170 | } |
168 | 171 | ||