Re: [Device-drivers-devel] [PATCH 3/3] Input: touchscreen: ad7877 filter events where pressure is beyond the maximum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 15, 2010 at 06:40,  <michael.hennerich@xxxxxxxxxx> wrote:
> Suppress events where pressure > pressure_max.
> These events come typically along with inaccurate X and Y samples.

were you going to commit to the blackfin tree ?

> --- a/drivers/input/touchscreen/ad7877.c
> +++ b/drivers/input/touchscreen/ad7877.c
> @@ -360,6 +360,13 @@ static int ad7877_rx(struct ad7877 *ts)
> Â Â Â Â Â Â Â ÂRt /= z1;
> Â Â Â Â Â Â Â ÂRt = (Rt + 2047) >> 12;
>
> + Â Â Â Â Â Â Â /*
> + Â Â Â Â Â Â Â Â* Sample found inconsistent, pressure is beyond
> + Â Â Â Â Â Â Â Â* the maximum. Don't report it to user space.
> + Â Â Â Â Â Â Â Â*/
> + Â Â Â Â Â Â Â if (Rt > ts->pressure_max)
> + Â Â Â Â Â Â Â Â Â Â Â return -EINVAL;

this has spaces in the middle of your tab indents ...
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux