input: misc: fix sysfs permissions
authorErik Lilliebjerg <elilliebjerg@nvidia.com>
Thu, 6 Jun 2013 14:25:35 +0000 (07:25 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:29:23 +0000 (13:29 -0700)
commit2dc0d5d336b410ff3b77d9ee5781b39811513038
tree395a883db963614dde4ec3fe042b349d60a5e8e1
parent5db4836a6fd414426fc06a517c8022e7709b2652
input: misc: fix sysfs permissions

- Fix sysfs permissions.
- Fix raw accelerometer access.
- Fix autodetection behind MPU.
- Add self-test.

Bug 1224709
Bug 1243584
Bug 1291044
Bug 1295651
Bug 1290313
Bug 1298831

Change-Id: I55847fd158abdb9f12dc830218619c6ed7913396
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/243010
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
drivers/input/misc/compass/ak8975_input.c
drivers/input/misc/mpu/inv_gyro.c
drivers/input/misc/mpu/inv_gyro.h
drivers/input/misc/mpu/inv_gyro_misc.c
drivers/input/misc/mpu/inv_mpu3050.c
drivers/input/misc/pressure/bmp180.c
include/linux/mpu.h