[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1429298273-5108-1-git-send-email-irina.tirdea@intel.com>
Date: Fri, 17 Apr 2015 22:17:51 +0300
From: Irina Tirdea <irina.tirdea@...el.com>
To: Wolfram Sang <wsa@...-dreams.de>, linux-i2c@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Irina Tirdea <irina.tirdea@...el.com>
Subject: [PATCH v2 0/2] Add support for best effort block read emulation
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists