]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: add debounce time to 200ms for magnetic sensor
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 29 May 2014 10:20:41 +0000 (15:50 +0530)
committerTony Ly <tly@nvidia.com>
Thu, 29 May 2014 20:20:07 +0000 (13:20 -0700)
It is observed that there is huge amount of debounce on the
signal of transtion when smart cover flipped.

Keep the safe value of debounce time of the signal from sensor to
200ms.

bug 200005902

Change-Id: Ic232f832c0ddb7da468ba8aa432985bdba1210e1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/416628
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Tested-by: Sri Krishna Chowdary <schowdary@nvidia.com>
GVS: Gerrit_Virtual_Submit

arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-keys-p1761-1270-a03.dtsi

index 889cfc1b510f6a9a2b8ab028d170c2c4804b8930..b030cb7436a856170eb7ad279b0eadc60e12c9ef 100644 (file)
@@ -43,6 +43,7 @@
                        linux,code = <SW_LID>;
                        linux,input-type = <EV_SW>;
                        gpio-key,wakeup;
+                       debounce-interval = <200>;
                };
        };
 };