i2c: designware: Use transfer timeout from ioctl I2C_TIMEOUT
authorWeifeng Voon <weifeng.voon@intel.com>
Fri, 17 Jun 2016 01:46:35 +0000 (09:46 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 19 Jun 2016 16:52:44 +0000 (18:52 +0200)
commitd0bcd8df9aea2bcdbfcb074d408bdc7136031bc5
tree2750ef9c66fe3b44cc59c9a4795415c0262ba80a
parent0130944bc1d212ad4b33584424d56fe7c049eb65
i2c: designware: Use transfer timeout from ioctl I2C_TIMEOUT

This allows applications to set the transfer timeout in 10ms increments via
ioctl I2C_TIMEOUT.

Signed-off-by: Weifeng Voon <weifeng.voon@intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-core.c