Thread (3 messages) flat view 3 messages, 3 authors, 2015-07-14

Re: [PATCH v2] HID: cp2112: support i2c write-read transfers in hid-cp2112

From: Jiri Kosina <hidden>
Date: 2015-07-10 09:21:35
Also in: linux-i2c

On Thu, 9 Jul 2015, Ellen Wang wrote:
cp2112_i2c_xfer() only supports a single i2c_msg.  More than
one message at a time just returns EIO.  This breaks certain
important cases.  For example, the at24 eeprom driver generates
paired write and read messages (for eeprom address and data).

Since the device doesn't support i2c repeated starts in general,
but does support a single write-repeated-start-read pair
(since hardware rev 1), we recognize the latter case and
implement only that.

Signed-off-by: Ellen Wang <redacted>
Applied to for-4.3/cp2112.

Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help