i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT
authorNoralf Trønnes <noralf@tronnes.org>
Mon, 3 Oct 2016 20:06:13 +0000 (22:06 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 7 Nov 2016 00:48:32 +0000 (01:48 +0100)
commite13e19e12f66401ce1e21ab491715835852babe7
tree2db60b6cc1cf062b2dd30c493aa70c248ef8b14d
parentee05fea21b017b81a9477569b6a0c2d8e2946ac9
i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT

Use i2c_adapter->timeout for the completion timeout value. The core
default is 1 second.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-bcm2835.c