From 3210457764e0828056e64bbddbb9273d0384657c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 16 May 2017 12:14:43 +1000 Subject: 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 --- firmware/target/arm/imx233/kernel-imx233.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/imx233/kernel-imx233.h') 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__ */ -- cgit v1.2.3