i2c: i2c-mux-gpio: update mux with gpiod_set_array_value_cansleep
authorPeter Rosin <peda@axentia.se>
Thu, 24 Nov 2016 18:19:28 +0000 (19:19 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 29 Nov 2016 19:10:59 +0000 (20:10 +0100)
commitfeff5c0a274eef885881946057b2ddbbfd22c55f
tree43330f81798ab7886c7b26a80800457a4326c398
parentbbf9d262a147aeaeee0bf4e1c121166d69e556d4
i2c: i2c-mux-gpio: update mux with gpiod_set_array_value_cansleep

If the gpio controller supports it and the gpio lines are concentrated
to one gpio chip, the mux controller pins will get updated simultaneously.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-mux-gpio.c