diff for duplicates of <201002191202.16384.anarsoul@gmail.com> diff --git a/a/1.1.hdr b/a/1.1.hdr deleted file mode 100644 index b14af34..0000000 --- a/a/1.1.hdr +++ /dev/null @@ -1,4 +0,0 @@ -Content-Type: Text/Plain; - charset="utf-8" -Content-Transfer-Encoding: quoted-printable -Content-Disposition: inline diff --git a/a/1.2.hdr b/a/1.2.hdr deleted file mode 100644 index ee5c735..0000000 --- a/a/1.2.hdr +++ /dev/null @@ -1,6 +0,0 @@ -Content-Type: text/x-patch; - charset="iso-8859-1"; - name="0002-s3c24xx_ts-report-touch-only-when-stylus-is-down.patch" -Content-Transfer-Encoding: quoted-printable -Content-Disposition: inline; - filename="0002-s3c24xx_ts-report-touch-only-when-stylus-is-down.patch" diff --git a/a/1.2.txt b/a/1.2.txt deleted file mode 100644 index e7ecad9..0000000 --- a/a/1.2.txt +++ /dev/null @@ -1,64 +0,0 @@ -From 3edbe60fdb0cd2c2d91046557fcd9ad4f8c3b69d Mon Sep 17 00:00:00 2001 -From: Vasily Khoruzhick <anarsoul@gmail.com> -Date: Fri, 19 Feb 2010 11:48:56 +0200 -Subject: [PATCH 2/4] s3c24xx_ts: report touch only when stylus is down - -By default, driver reports touches when it gots (1 << ts.shift) -samples, even if stylus is up. This behavior looks wrong to me. -Patch makes driver to report touches only when stylus is down. - -Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> ---- - drivers/input/touchscreen/s3c2410_ts.c | 30 ++++++++++++++++-------------- - 1 files changed, 16 insertions(+), 14 deletions(-) - -diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c -index 6386b44..14afa0e 100644 ---- a/drivers/input/touchscreen/s3c2410_ts.c -+++ b/drivers/input/touchscreen/s3c2410_ts.c -@@ -128,27 +128,29 @@ static void touch_timer_fire(unsigned long data) - - down = get_down(data0, data1); - -- if (ts.count == (1 << ts.shift)) { -- ts.xp >>= ts.shift; -- ts.yp >>= ts.shift; -+ if (down) { -+ if (ts.count == (1 << ts.shift)) { -+ ts.xp >>= ts.shift; -+ ts.yp >>= ts.shift; - -- dev_dbg(ts.dev, "%s: X=%lu, Y=%lu, count=%d\n", -- __func__, ts.xp, ts.yp, ts.count); -+ dev_dbg(ts.dev, "%s: X=%lu, Y=%lu, count=%d\n", -+ __func__, ts.xp, ts.yp, ts.count); - -- input_report_abs(ts.input, ABS_X, ts.xp); -- input_report_abs(ts.input, ABS_Y, ts.yp); -+ input_report_abs(ts.input, ABS_X, ts.xp); -+ input_report_abs(ts.input, ABS_Y, ts.yp); - -- input_report_key(ts.input, BTN_TOUCH, 1); -- input_sync(ts.input); -+ input_report_key(ts.input, BTN_TOUCH, 1); -+ input_sync(ts.input); - -- ts.xp = 0; -- ts.yp = 0; -- ts.count = 0; -- } -+ ts.xp = 0; -+ ts.yp = 0; -+ ts.count = 0; -+ } - -- if (down) { - s3c_adc_start(ts.client, 0, 1 << ts.shift); - } else { -+ ts.xp = 0; -+ ts.yp = 0; - ts.count = 0; - - input_report_key(ts.input, BTN_TOUCH, 0); --- -1.7.0 diff --git a/a/1.1.txt b/N1/1.txt similarity index 50% rename from a/1.1.txt rename to N1/1.txt index 30b0ce9..e20bec4 100644 --- a/a/1.1.txt +++ b/N1/1.txt @@ -1,6 +1,6 @@ Hi Dmitry, -В сообщении от 19 февраля 2010 11:17:55 автор Dmitry Torokhov написал: +? ????????? ?? 19 ??????? 2010 11:17:55 ????? Dmitry Torokhov ???????: > I do not think this is right. Here you reset sampling data regardless > of whether you got the right number of samples or not. You should repeat @@ -23,3 +23,17 @@ Ok. Fixed version is in attachment Thanks for review. +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: 0002-s3c24xx_ts-report-touch-only-when-stylus-is-down.patch +Type: text/x-patch +Size: 1904 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100219/506975f2/attachment.bin> +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: not available +Type: application/pgp-signature +Size: 198 bytes +Desc: This is a digitally signed message part. +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100219/506975f2/attachment.sig> diff --git a/a/2.bin b/a/2.bin deleted file mode 100644 index 64bb68b..0000000 --- a/a/2.bin +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEABECAAYFAkt+YagACgkQRM6pQpltKE6zqgCfclX/GX9vmmMO4hiyHuKhfECK -PtsAniDP/y9OX6GJ4tUEhCMopsr/zIF/ -=BMM6 ------END PGP SIGNATURE----- diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index f8a8343..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,2 +0,0 @@ -Content-Type: application/pgp-signature; name=signature.asc -Content-Description: This is a digitally signed message part. diff --git a/a/content_digest b/N1/content_digest index ab9de0c..bea10b5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,18 +1,15 @@ "ref\01266510750-9846-1-git-send-email-anarsoul@gmail.com\0" "ref\01266510750-9846-3-git-send-email-anarsoul@gmail.com\0" "ref\020100219091755.GB2856@core.coreip.homeip.net\0" - "From\0Vasily Khoruzhick <anarsoul@gmail.com>\0" - "Subject\0Re: [PATCH 2/4] s3c24xx_ts: report touch only when stylus is down\0" + "From\0anarsoul@gmail.com (Vasily Khoruzhick)\0" + "Subject\0[PATCH 2/4] s3c24xx_ts: report touch only when stylus is down\0" "Date\0Fri, 19 Feb 2010 12:02:10 +0200\0" - "To\0Dmitry Torokhov <dmitry.torokhov@gmail.com>\0" - "Cc\0linux-arm-kernel@lists.infradead.org" - ben-linux@fluff.org - " linux-input@vger.kernel.org\0" - "\02:1.1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "Hi Dmitry,\n" "\n" - "\320\222 \321\201\320\276\320\276\320\261\321\211\320\265\320\275\320\270\320\270 \320\276\321\202 19 \321\204\320\265\320\262\321\200\320\260\320\273\321\217 2010 11:17:55 \320\260\320\262\321\202\320\276\321\200 Dmitry Torokhov \320\275\320\260\320\277\320\270\321\201\320\260\320\273:\n" + "? ????????? ?? 19 ??????? 2010 11:17:55 ????? Dmitry Torokhov ???????:\n" "\n" "> I do not think this is right. Here you reset sampling data regardless\n" "> of whether you got the right number of samples or not. You should repeat\n" @@ -34,84 +31,20 @@ "\n" "Fixed version is in attachment\n" "\n" - Thanks for review. - "\02:1.2\0" - "fn\00002-s3c24xx_ts-report-touch-only-when-stylus-is-down.patch\0" - "b\0" - "From 3edbe60fdb0cd2c2d91046557fcd9ad4f8c3b69d Mon Sep 17 00:00:00 2001\n" - "From: Vasily Khoruzhick <anarsoul@gmail.com>\n" - "Date: Fri, 19 Feb 2010 11:48:56 +0200\n" - "Subject: [PATCH 2/4] s3c24xx_ts: report touch only when stylus is down\n" - "\n" - "By default, driver reports touches when it gots (1 << ts.shift)\n" - "samples, even if stylus is up. This behavior looks wrong to me.\n" - "Patch makes driver to report touches only when stylus is down.\n" - "\n" - "Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>\n" - "---\n" - " drivers/input/touchscreen/s3c2410_ts.c | 30 ++++++++++++++++--------------\n" - " 1 files changed, 16 insertions(+), 14 deletions(-)\n" - "\n" - "diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c\n" - "index 6386b44..14afa0e 100644\n" - "--- a/drivers/input/touchscreen/s3c2410_ts.c\n" - "+++ b/drivers/input/touchscreen/s3c2410_ts.c\n" - "@@ -128,27 +128,29 @@ static void touch_timer_fire(unsigned long data)\n" - " \n" - " \tdown = get_down(data0, data1);\n" - " \n" - "-\tif (ts.count == (1 << ts.shift)) {\n" - "-\t\tts.xp >>= ts.shift;\n" - "-\t\tts.yp >>= ts.shift;\n" - "+\tif (down) {\n" - "+\t\tif (ts.count == (1 << ts.shift)) {\n" - "+\t\t\tts.xp >>= ts.shift;\n" - "+\t\t\tts.yp >>= ts.shift;\n" - " \n" - "-\t\tdev_dbg(ts.dev, \"%s: X=%lu, Y=%lu, count=%d\\n\",\n" - "-\t\t\t__func__, ts.xp, ts.yp, ts.count);\n" - "+\t\t\tdev_dbg(ts.dev, \"%s: X=%lu, Y=%lu, count=%d\\n\",\n" - "+\t\t\t\t__func__, ts.xp, ts.yp, ts.count);\n" - " \n" - "-\t\tinput_report_abs(ts.input, ABS_X, ts.xp);\n" - "-\t\tinput_report_abs(ts.input, ABS_Y, ts.yp);\n" - "+\t\t\tinput_report_abs(ts.input, ABS_X, ts.xp);\n" - "+\t\t\tinput_report_abs(ts.input, ABS_Y, ts.yp);\n" - " \n" - "-\t\tinput_report_key(ts.input, BTN_TOUCH, 1);\n" - "-\t\tinput_sync(ts.input);\n" - "+\t\t\tinput_report_key(ts.input, BTN_TOUCH, 1);\n" - "+\t\t\tinput_sync(ts.input);\n" - " \n" - "-\t\tts.xp = 0;\n" - "-\t\tts.yp = 0;\n" - "-\t\tts.count = 0;\n" - "-\t}\n" - "+\t\t\tts.xp = 0;\n" - "+\t\t\tts.yp = 0;\n" - "+\t\t\tts.count = 0;\n" - "+\t\t}\n" - " \n" - "-\tif (down) {\n" - " \t\ts3c_adc_start(ts.client, 0, 1 << ts.shift);\n" - " \t} else {\n" - "+\t\tts.xp = 0;\n" - "+\t\tts.yp = 0;\n" - " \t\tts.count = 0;\n" - " \n" - " \t\tinput_report_key(ts.input, BTN_TOUCH, 0);\n" - "-- \n" - 1.7.0 - "\01:2\0" - "fn\0signature.asc\0" - "d\0This is a digitally signed message part.\0" - "b\0" - "-----BEGIN PGP SIGNATURE-----\n" - "Version: GnuPG v2.0.14 (GNU/Linux)\n" - "\n" - "iEYEABECAAYFAkt+YagACgkQRM6pQpltKE6zqgCfclX/GX9vmmMO4hiyHuKhfECK\n" - "PtsAniDP/y9OX6GJ4tUEhCMopsr/zIF/\n" - "=BMM6\n" - "-----END PGP SIGNATURE-----\n" + "Thanks for review.\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: 0002-s3c24xx_ts-report-touch-only-when-stylus-is-down.patch\n" + "Type: text/x-patch\n" + "Size: 1904 bytes\n" + "Desc: not available\n" + "URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100219/506975f2/attachment.bin>\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: not available\n" + "Type: application/pgp-signature\n" + "Size: 198 bytes\n" + "Desc: This is a digitally signed message part.\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100219/506975f2/attachment.sig> -5a05c5c09d8f9a615778959571f3f8c8f9aa3fd6f4fc8da9b68f15775d0fd202 +2e33d13bfadd57a521ba487ef06ddfd196153d7a3840abe7a30b6227a1d6f9b2
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.