summaryrefslogtreecommitdiff
path: root/include/sound/rt5682.h
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2019-10-30 16:55:33 +0800
committerMark Brown <broonie@kernel.org>2019-10-30 14:13:21 +0000
commite226445802cb2a51c3cb127fac31fba0a4330e87 (patch)
tree9863c7d9cda0cb717201d4ad62501787ffef59d0 /include/sound/rt5682.h
parente9904ed5e73af4fd00cf4fcf705420a385af45da (diff)
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.h1
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