diff options
author | Shuming Fan <shumingf@realtek.com> | 2019-10-30 09:55:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-30 15:13:21 +0100 |
commit | e226445802cb2a51c3cb127fac31fba0a4330e87 (patch) | |
tree | 9863c7d9cda0cb717201d4ad62501787ffef59d0 /include/sound/rt5682.h | |
parent | ASoC: soc-core: remove unneeded snd_soc_tplg_component_remove() (diff) | |
download | linux-e226445802cb2a51c3cb127fac31fba0a4330e87.tar.xz linux-e226445802cb2a51c3cb127fac31fba0a4330e87.zip |
ASoC: rt5682: improve the sensitivity of push button
The sensitivity could improve by decreasing the HW debounce time
and reduce the delay time of workequeue.
This patch added a device property for HW debounce time control.
We could change this value to tune the sensitivity of push button.
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20191030085533.14299-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt5682.h')
-rw-r--r-- | include/sound/rt5682.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rt5682.h b/include/sound/rt5682.h index bf2ee75aabb1..bc2c31734df1 100644 --- a/include/sound/rt5682.h +++ b/include/sound/rt5682.h @@ -31,6 +31,7 @@ struct rt5682_platform_data { enum rt5682_dmic1_data_pin dmic1_data_pin; enum rt5682_dmic1_clk_pin dmic1_clk_pin; enum rt5682_jd_src jd_src; + unsigned int btndet_delay; }; #endif |