]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i2c-designware: i2c_dw_func: Set I2C_FUNC_SMBUS_foo bits
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Fri, 6 Nov 2009 12:50:02 +0000 (21:50 +0900)
committerBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 00:19:12 +0000 (00:19 +0000)
commit52d7e430cff3f076d5ae5587e94f2e9b832b85d2
treeceac1b806a2e0b6e45aa58875ad88e2ca3adc89a
parentae72222d03fea3ff561e2a3aee483ef7bd1a2bbb
i2c-designware: i2c_dw_func: Set I2C_FUNC_SMBUS_foo bits

Set proper I2C_FUNC_SMBUS_* bits so that the driver could be used with
some utilities requiring SMBus functionalities, such as i2c-tools.

Note that DW I2C core doesn't support I2C_FUNC_SMBUS_QUICK, as it's not
capable of zero-length data transactions.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c