lkml.org 
[lkml]   [2014]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 0/6] Touchscreen performance related fixes


On Monday 24 November 2014 06:05 PM, Sebastian Andrzej Siewior wrote:
> On 11/24/2014 01:16 PM, Vignesh R wrote:
>
>> I have tried running both IIO and TSC at the same time. But I have never
>> seen WARN_ON() even after running for close to 30 min. Can you send me
>> the exact script, so that it will be easy to reproduce?
>
> Sure thing.
> - one shell
> evtest /dev/input/event2
> - second shell
> ./iio-test.sh
> with:
>
> |#!/bin/sh
> |
> |while [ 1 = 1 ]
> |do
> | cat /sys/bus/iio/devices/iio\:device0/in_voltage4_raw
> |done
>
>
> the kernel config: https://breakpoint.cc/am335x-config
>

I was able to reproduce this issue. When ADC hits WARN_ON(), the TSC
steps should be disabled. But, in this case, TSC is sampling the first Y
co-ordinate and all TSC steps are enabled.
REG_SE: 0x1ffc1
ADC_STAT: 0x24

Any idea why this may be happening?

Regards
Vignesh


\
 
 \ /
  Last update: 2014-11-27 06:01    [W:0.095 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site