Commit c43c4315 authored by Angus Ainslie (Purism)'s avatar Angus Ainslie (Purism)
Browse files

sound: soc: simple-card-utils: increase the debounce time



The HP detect gpio bounces at 150 ms so increase the debounce time to
1000 ms.
Signed-off-by: default avatarAngus Ainslie (Purism) <angus@akkea.ca>
parent c7924007
Pipeline #57880 passed with stage
in 81 minutes and 7 seconds
...@@ -579,7 +579,7 @@ int asoc_simple_init_jack(struct snd_soc_card *card, ...@@ -579,7 +579,7 @@ int asoc_simple_init_jack(struct snd_soc_card *card,
sjack->gpio.report = mask; sjack->gpio.report = mask;
sjack->gpio.gpio = det; sjack->gpio.gpio = det;
sjack->gpio.invert = !!(flags & OF_GPIO_ACTIVE_LOW); sjack->gpio.invert = !!(flags & OF_GPIO_ACTIVE_LOW);
sjack->gpio.debounce_time = 150; sjack->gpio.debounce_time = 1000;
snd_soc_card_jack_new(card, pin_name, mask, snd_soc_card_jack_new(card, pin_name, mask,
&sjack->jack, &sjack->jack,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment