commit | 5ddfb12e90c73cf86881345be422e09c367f6981 | [log] [tgz] |
---|---|---|
author | Ellen Wang <ellen@cumulusnetworks.com> | Wed Jul 08 11:17:39 2015 -0700 |
committer | Jiri Kosina <jkosina@suse.com> | Thu Jul 09 14:15:53 2015 +0200 |
tree | a8e76a63d4a61f07f34d4f8a1d98a638c340634a | |
parent | 6debce6f4e787a8eb4cec94e7afa85fb4f40db27 [diff] |
HID: cp2112: support large i2c transfers 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 <ellen@cumulusnetworks.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>