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>
Sat, 31 Mar 2018 14:45:15 +0000 (15:45 +0100)
commit4f5f32e0188112467dd1d88e49853c3f5592b2ec
tree41234017792de4a2f9dfedda726fb7376613538c
parent3cac538eee531ed551b7054e9927eee51eced48d
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