set default debounce_delay to 10ms
authorMichael Gernoth <michael@gernoth.net>
Fri, 20 May 2011 19:02:35 +0000 (21:02 +0200)
committerMichael Gernoth <michael@gernoth.net>
Fri, 20 May 2011 19:02:35 +0000 (21:02 +0200)
debounce.c

index e6398dcb9ab262a9e7113ef0ea2473001e2be0d1..9ae93f2283ed75259d37275d3013395d02947426 100644 (file)
@@ -5,10 +5,10 @@
 
 #define PREFIX "debounce: "
 
 
 #define PREFIX "debounce: "
 
-static int delay = 5;
+static int delay = 10;
 
 module_param(delay, int, S_IRUSR | S_IRGRP | S_IROTH);
 
 module_param(delay, int, S_IRUSR | S_IRGRP | S_IROTH);
-MODULE_PARM_DESC(delay, "debouncing delay (ms), default: 5");
+MODULE_PARM_DESC(delay, "debouncing delay (ms), default: 10");
 
 static int find_ms2_dev(struct device *dev, void *data)
 {
 
 static int find_ms2_dev(struct device *dev, void *data)
 {
Impressum, Datenschutz