[oe-commits] Martin Jansa : xserver-kdrive-common: update sysfs ts calibration node for shr and kernel 2.6.32
git version control
git at git.openembedded.org
Tue Dec 22 19:23:03 UTC 2009
Module: openembedded.git
Branch: shr/merge
Commit: 5878e8a69e67e743c03a970747980710d68228f5
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5878e8a69e67e743c03a970747980710d68228f5
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Tue Dec 22 20:15:58 2009 +0100
xserver-kdrive-common: update sysfs ts calibration node for shr and kernel 2.6.32
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../xserver-kdrive-common/shr/89xTs_Calibrate | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate b/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
index b852c0c..e42e79c 100644
--- a/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
+++ b/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
@@ -12,6 +12,11 @@ if [ ! -d $SYSFS_CALIBRATION_DIR ]; then
SYSFS_CALIBRATION_DIR=/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/s3c2410-ts/calibration
fi
+if [ ! -d $SYSFS_CALIBRATION_DIR ]; then
+ # moved in 2.6.32
+ SYSFS_CALIBRATION_DIR=/sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/s3c2410-ts/calibration
+fi
+
if [ -d $SYSFS_CALIBRATION_DIR ]; then
echo 0 > $SYSFS_CALIBRATION_DIR/0
echo 80000 > $SYSFS_CALIBRATION_DIR/1
More information about the Openembedded-commits
mailing list