Re: [PATCH 17/20] Input: atmel_mxt_ts - use cached T9 reportid rangein isr

From: Nick Dyer
Date: Tue Mar 20 2012 - 11:30:41 EST


Daniel Kurtz wrote:
> Streamline interrupt processing by caching the T9 reportid range when
> first initializing the object table.
>
> Note: the cached T9 reportid's are initialized to 0, which is an invalid
> reportid. Thus, the checks in the interrupt handler will always fail
> for devices that do not support the T9 object.
>
> Signed-off-by: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>

You need to support the case where there are multiple T9 instances.

--
Nick Dyer
Software Engineer, ITDev Ltd
Hardware and Software Development Consultancy
Website: http://www.itdev.co.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/