Jean Delvare 7fafae669a i2c: mux: gpio: Check gpio_direction_output return value
gpio_direction_output() may fail, check for that and deal with it
appropriately. Also log an error message if gpio_request() fails.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2013-03-27 08:55:13 +01:00
..
2012-10-08 12:46:32 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2013-02-22 23:31:31 -05:00
2012-10-28 21:37:00 +01:00
2012-10-28 21:37:00 +01:00