The patch titled wm971x: check for pen up on both axes has been removed from the -mm tree. Its filename was wm971x-check-for-pen-up-on-both-axes.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: wm971x: check for pen up on both axes From: Lars Munch <lars@xxxxxxx> This prevents sending wrong Y coordinates if pen up happens exactly between sampling for X coordinates and Y coordinates. Signed-off-by: Lars Munch <lars@xxxxxxx> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Cc: Dmitry Torokhov <dtor@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/input/touchscreen/wm9712.c | 2 +- drivers/input/touchscreen/wm9713.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/input/touchscreen/wm9712.c~wm971x-check-for-pen-up-on-both-axes drivers/input/touchscreen/wm9712.c --- a/drivers/input/touchscreen/wm9712.c~wm971x-check-for-pen-up-on-both-axes +++ a/drivers/input/touchscreen/wm9712.c @@ -362,7 +362,7 @@ static int wm9712_poll_coord(struct wm97 if (pil && !(data->p & WM97XX_ADCSEL_PRES)) goto err; - if (!(data->x & WM97XX_PEN_DOWN)) { + if (!(data->x & WM97XX_PEN_DOWN) || !(data->y & WM97XX_PEN_DOWN)) { wm->pen_probably_down = 0; return RC_PENUP; } diff -puN drivers/input/touchscreen/wm9713.c~wm971x-check-for-pen-up-on-both-axes drivers/input/touchscreen/wm9713.c --- a/drivers/input/touchscreen/wm9713.c~wm971x-check-for-pen-up-on-both-axes +++ a/drivers/input/touchscreen/wm9713.c @@ -359,7 +359,7 @@ static int wm9713_poll_coord(struct wm97 if (pil && !(data->p & WM97XX_ADCSEL_PRES)) goto err; - if (!(data->x & WM97XX_PEN_DOWN)) { + if (!(data->x & WM97XX_PEN_DOWN) || !(data->y & WM97XX_PEN_DOWN)) { wm->pen_probably_down = 0; return RC_PENUP; } _ Patches currently in -mm which might be from lars@xxxxxxx are git-wm97xx.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html