On Fri, Oct 15, 2010 at 09:51:12PM -0400, Mike Frysinger wrote: > 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 ... I took care of that on my side... -- Dmitry -- 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