summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate5
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 b852c0cb1d..e42e79c989 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