summaryrefslogtreecommitdiffstats
path: root/drivers/hsi
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2014-10-09 11:07:58 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-11-17 19:54:22 +0100
commita839ce663b3183209fdf7b1fc4796bfe2a4679c3 (patch)
treec8ba8197fe356f0da31e8a5af5082d4fa28998a3 /drivers/hsi
parent3eee1799aed90e990e02a73a89bfcff1982c74dd (diff)
downloadlinux-a839ce663b3183209fdf7b1fc4796bfe2a4679c3.tar.bz2
eeprom: at24: extend driver to allow writing via i2c_smbus_write_byte_data
I have a at24 EEPROM connected via i2c bus provided by ISCH i2c bus driver. This bus driver does not support I2C_FUNC_SMBUS_WRITE_I2C_BLOCK and so I was looking for a way to be able to write the eeprom. This patch adds support for I2C_SMBUS_BYTE_DATA writing via i2c_smbus_write_byte_data. It is quite slow, but it works. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> [wsa: s/use_smbuse_write/use_smbus_write/] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions