summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-slave-eeprom.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-24i2c: slave-eeprom: fix boundary check when using sysfsWolfram Sang1-2/+2
Due to a copy&paste error, the last byte of the shared memory was not accessible via sysfs. Reported-by: Debora Grosse <debora@mds.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2014-12-12i2c: slave-eeprom: add eeprom simulator driverWolfram Sang1-0/+170
The first user of the i2c-slave interface is an eeprom simulator. It is a shared memory which can be accessed by the remote master via I2C and locally via sysfs. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>