]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
drivers: hid: Trackpad off by default for Blake
authorAly Hirani <ahirani@nvidia.com>
Fri, 27 Feb 2015 22:39:41 +0000 (14:39 -0800)
committerRaymond Poudrier <rapoudrier@nvidia.com>
Wed, 12 Aug 2015 21:01:23 +0000 (14:01 -0700)
commite959d0a16defbc2591aa77b3fbee2fbb441af8e0
tree96f1f208870f3c0dcfe847132c6c975809953627
parent794a233c836983d9eb450a87f448d5000945a4b6
drivers: hid: Trackpad off by default for Blake

This change makes the trackpad disabled by default for Blake. If this is
done from userspace, there is a race condition where you can still move
the trackpad for a bit before the trackpad disable code kicks in.

So instead of enabled by default and override to disabled, do the
opposite. Disable in kernel by default and then the userspace can choose
to enable it when needed.

Bug 200073391

Change-Id: Iaa51b6fa3f4618319ad8e4180097bd14fb55a8a1
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/712149
(cherry picked from commit 9f3953f15290450e4302990a8d2c3fae405ee406)
Reviewed-on: http://git-master/r/721402
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
drivers/hid/hid-nvidia-blake.c