Dear All, For ensure touch chip change to suspend mode completely.
FW needs a little time to disable something. If don't that, we do suspend and resume immediately, it may happen confuse status problem. Add 100ms sleep time to wait chip suspend and resume. Signed-off-by: Mike Hsu <[email protected]> Signed-off-by: Stanley Zeng <[email protected]> --- ektf2136_spi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- --- linux-2.6.37/drivers/input/touchscreen/ektf2136_spi.old.c 2011-05-12 14:36:55.000000000 +0800 +++ linux-2.6.37/drivers/input/touchscreen/ektf2136_spi.c 2011-05-12 14:37:31.000000000 +0800 @@ -30,11 +30,11 @@ #include <linux/pm_runtime.h> #define DRV_NAME "ektf2136_spi" -#define DRIVER_VERSION "v3.0.0" +#define DRIVER_VERSION "v3.0.1" #define DRV_MA_VER 3 #define DRV_MI_VER 0 -#define DRV_SUB_MI_VER 0 +#define DRV_SUB_MI_VER 1 static const char ELAN_TS_NAME[] = "ektf2136_spi"; @@ -1758,6 +1758,7 @@ return ret; ed->power_state = 0; + msleep(100); return 0; } @@ -1774,6 +1775,7 @@ return ret; ed->power_state = 1; + msleep(100); return 0; }
ektf2136_spi-sync-alan.patch
Description: Binary data
_______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
