summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/kernel-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-05-16 12:14:43 +1000
committerAmaury Pouly <amaury.pouly@gmail.com>2017-05-16 12:14:43 +1000
commit3210457764e0828056e64bbddbb9273d0384657c (patch)
treea399bc53cc448bb5db6e92d486e1c4845d12f716 /firmware/target/arm/imx233/kernel-imx233.h
parent5dd443c03385393de7458a03097e0b40635e6e4e (diff)
downloadrockbox-3210457764e0828056e64bbddbb9273d0384657c.tar.gz
rockbox-3210457764e0828056e64bbddbb9273d0384657c.zip
imx233: fix touchscreen driver
One cannot call lradc_acquire in IRQ context. The solution is to reserve the channel once at init. There is an additional complication on STMP3600 where channel mapping is fixed. Change-Id: Idccbac634a4d9002703e2b1d57748beb9b245cbb
Diffstat (limited to 'firmware/target/arm/imx233/kernel-imx233.h')
-rw-r--r--firmware/target/arm/imx233/kernel-imx233.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/kernel-imx233.h b/firmware/target/arm/imx233/kernel-imx233.h
index 960f3f2431..74a6f248f2 100644
--- a/firmware/target/arm/imx233/kernel-imx233.h
+++ b/firmware/target/arm/imx233/kernel-imx233.h
@@ -43,4 +43,4 @@ int arbiter_acquire(struct channel_arbiter_t *a, int timeout);
void arbiter_release(struct channel_arbiter_t *a, int channel);
bool arbiter_acquired(struct channel_arbiter_t *a, int channel);
-#endif /* __KERNEL_IMX233__ */ \ No newline at end of file
+#endif /* __KERNEL_IMX233__ */