Verified Commit 957a2cf8 authored by Angus Ainslie (Purism)'s avatar Angus Ainslie (Purism) Committed by Sebastian Krzyszkowiak

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 ef903bb1
......@@ -580,7 +580,7 @@ int asoc_simple_init_jack(struct snd_soc_card *card,
sjack->gpio.report = mask;
sjack->gpio.gpio = det;
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,
&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