Alex, can you help me, I have the exact same issue. Could you upload your
image that fixes the issue with the 5 micro seconds delay. Are you running
debian or Ubuntu? I am not an expert on rebuilding the kernel to change
the ti_am335x_tsc.c.
Thanks
On Friday, February 7, 2014 1:44:34 PM UTC-5, Alex Gal wrote:
>
> Hello all,
>
> I forgot to mention that adding a udelay of 5 microseconds seems to
> make the issue go away:
>
>
> diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c
> b/drivers/input/touchscreen/ti_am335x_tsc.c
> index ed83043..e1c0499 100644
> --- a/drivers/input/touchscreen/ti_am335x_tsc.c
> +++ b/drivers/input/touchscreen/ti_am335x_tsc.c
> @@ -227,6 +227,7 @@ static void titsc_read_coordinates(struct titsc
> *ts_dev,
> nY=0;
> for (i = 0; i < fifocount; i++) {
> read = titsc_readl(ts_dev, REG_FIFO0);
> + udelay(5);
>
> channel = (read & 0xf0000) >> 16;
> read &= 0xfff;
>
>
> So this bug seems to be related perhaps to synchronization issues, I
> do not know. I noticed that the bug went away when I added printk
> statements. Unfortunately, that does not help me with the debugging.
>
> If anybody has any ideas, let me know.
>
> Cheers,
>
> Alex
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.