Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1292888
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/2] i2c: xlr: fix extra read/write at end of rx transfer |
| Date | 2015-12-16 11:50 +0100 |
| Message-ID | <qGhOG-De-25@gated-at.bofh.it> (permalink) |
| References | <qG72W-2k7-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Tue, Dec 15, 2015 at 11:15:05PM +0000, Mans Rullgard wrote: > The BYTECNT register holds the transfer size minus one. Setting it to > the correct value removes the need for a dummy read/write at the end of > each transfer. As zero-length transfers are not supported, do not > advertise I2C_FUNC_SMBUS_QUICK. > > In other words, this patch makes the driver transfer the number of bytes > requested unless this is zero, which is not supported by the hardware > and is thus refused. > > Signed-off-by: Mans Rullgard <mans@mansr.com> Applied to for-next, thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 1/2] i2c: xlr: fix extra read/write at end of rx transfer Mans Rullgard <mans@mansr.com> - 2015-12-16 00:20 +0100 Re: [PATCH v2 1/2] i2c: xlr: fix extra read/write at end of rx transfer Wolfram Sang <wsa@the-dreams.de> - 2015-12-16 11:50 +0100
csiph-web