mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for best effort block read emulation
@ 2015-04-17 19:17 Irina Tirdea
  2015-04-17 19:17 ` [PATCH v2 1/2] i2c: core: " Irina Tirdea
  2015-04-17 19:17 ` [PATCH v2 2/2] eeprom: at24: use i2c_smbus_read_i2c_block_data_or_emulated Irina Tirdea
  0 siblings, 2 replies; 3+ messages in thread
From: Irina Tirdea @ 2015-04-17 19:17 UTC (permalink / raw)
  To: Wolfram Sang, linux-i2c; +Cc: linux-kernel, Irina Tirdea

This is the second version for adding i2c_smbus_read_i2c_block_data_or_emulated
to i2c-core. It contains mostly fixes suggested by Wolfram.

Changes since v1:
 - dropped the RFC tag
 - changed at24 to use i2c_smbus_read_i2c_block_data_or_emulated
 - when reading an odd number of bytes using word emulation, read an even
number of bytes and drop the last one
 - add a comment that this might not be suitable for all I2C slaves 

Irina Tirdea (2):
  i2c: core: Add support for best effort block read emulation
  eeprom: at24: use i2c_smbus_read_i2c_block_data_or_emulated

 drivers/i2c/i2c-core.c     | 60 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/misc/eeprom/at24.c | 40 +++++++------------------------
 include/linux/i2c.h        |  3 +++
 3 files changed, 72 insertions(+), 31 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-17 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 19:17 [PATCH v2 0/2] Add support for best effort block read emulation Irina Tirdea
2015-04-17 19:17 ` [PATCH v2 1/2] i2c: core: " Irina Tirdea
2015-04-17 19:17 ` [PATCH v2 2/2] eeprom: at24: use i2c_smbus_read_i2c_block_data_or_emulated Irina Tirdea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®