i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT
authorNoralf Trønnes <noralf@tronnes.org>
Fri, 23 Sep 2016 02:57:17 +0000 (04:57 +0200)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:00:01 +0000 (01:00 +0000)
commit9e675a72157e8a091774e55511c1ea7dd12ae3ee
treea677279809ab27c0a25c4a55aa181baddfce7537
parentba83ac5ab7e166573ad99a8ee12e3167a1292817
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>
drivers/i2c/busses/i2c-bcm2835.c