[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.3-167-g2c37765
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2014-02-28 14:33:16
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 2c3776522ddc1499be6e8be3005dd835d4411375 (commit)
from 506d5517d8f4da0cb4aed93c368c7f5a41f3d03d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2c3776522ddc1499be6e8be3005dd835d4411375
Author: Sébastien Szymanski <seb...@ar...>
Date: Fri Feb 28 15:33:52 2014 +0100
[LINUX] 3.14-rc4: apf28dev: fix touchscreen statemachine
-----------------------------------------------------------------------
Summary of changes:
...dc-MXS-LRADC-fix-touchscreen-statemachine.patch | 37 ++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 patches/linux/3.14-rc4/0504-staging-iio-adc-MXS-LRADC-fix-touchscreen-statemachine.patch
diff --git a/patches/linux/3.14-rc4/0504-staging-iio-adc-MXS-LRADC-fix-touchscreen-statemachine.patch b/patches/linux/3.14-rc4/0504-staging-iio-adc-MXS-LRADC-fix-touchscreen-statemachine.patch
new file mode 100644
index 0000000..a09317a
--- /dev/null
+++ b/patches/linux/3.14-rc4/0504-staging-iio-adc-MXS-LRADC-fix-touchscreen-statemachine.patch
@@ -0,0 +1,37 @@
+From patchwork Mon Feb 24 14:39:53 2014
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+Subject: staging/iio/adc/MXS/LRADC: fix touchscreen statemachine
+From: Juergen Beisert <jb...@pe...>
+X-Patchwork-Id: 3709571
+Message-Id: <201...@pe...>
+To: lin...@li...
+Cc: Dan Carpenter <dan...@or...>,
+ de...@dr..., ma...@de...,
+ fab...@fr..., lin...@vg...,
+ Alexandre Belloni <ale...@fr...>,
+ ji...@ca..., lin...@vg...
+Date: Mon, 24 Feb 2014 15:39:53 +0100
+
+Releasing the touchscreen lets the internal statemachine left in a wrong state.
+Due to this the release coordinate will be reported again by accident when the next
+touchscreen event happens. This change sets up the correct state when waiting
+for the next touchscreen event.
+
+Signed-off-by: Juergen Beisert <jb...@pe...>
+Tested-by: Alexandre Belloni <ale...@fr...>
+
+
+diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c
+index 7fc66a6..514844e 100644
+--- a/drivers/staging/iio/adc/mxs-lradc.c
++++ b/drivers/staging/iio/adc/mxs-lradc.c
+@@ -757,6 +757,7 @@ static void mxs_lradc_finish_touch_event(struct mxs_lradc *lradc, bool valid)
+ }
+
+ /* if it is released, wait for the next touch via IRQ */
++ lradc->cur_plate = LRADC_TOUCH;
+ mxs_lradc_reg_clear(lradc, LRADC_CTRL1_TOUCH_DETECT_IRQ, LRADC_CTRL1);
+ mxs_lradc_reg_set(lradc, LRADC_CTRL1_TOUCH_DETECT_IRQ_EN, LRADC_CTRL1);
+ }
hooks/post-receive
--
armadeus
|