1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Amaury Pouly 2017-05-16 12:14:43 +10:00
parent 5dd443c033
commit 3210457764
2 changed files with 31 additions and 7 deletions

View file

@ -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__ */
#endif /* __KERNEL_IMX233__ */