On Thu, Jul 9, 2015 at 8:17 PM, Jiri Kosina <[email protected]> wrote:
> On Wed, 8 Jul 2015, Ellen Wang wrote:
>
>> cp2112_i2c_xfer() only reads up to 61 bytes, returning EIO
>> on longers reads.  The fix is to wrap a loop around
>> cp2112_read() to pick up all the returned data.
>>
>> Signed-off-by: Ellen Wang <[email protected]>
>> ---
>> This is the updated patch with a check for 0 return from
>> cp2112_read().  I tested it with a suitable delay in the loop
>> to trigger the cp2112_raw_event() overrun bug, which must
>> be fixed before this patch is applied.
>
> Now applied to for-4.3/cp2112 (which is based on for-4.2/upstream-fixes,
> where the overrun in ->raw_event() callback is fixed). So please send any
> potential updates as followups on top of this patch.
>

It works as expected.

Either
Tested-by: Antonio Borneo <[email protected]>
and/or
Reviewed-by: Antonio Borneo <[email protected]>

Regards,
Antonio
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to