diff options
author | Jean Delvare <khali@linux-fr.org> | 2013-03-06 22:35:53 +0000 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-03-27 08:55:13 +0100 |
commit | 7fafae669a623b003d9d40b75ab31bb9625d5c38 (patch) | |
tree | bf64062c90be60a81d06934d31dd15367286ca24 /drivers/i2c/busses | |
parent | 1b295c839b3931244f37cb52265017b298518f69 (diff) |
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>
Diffstat (limited to 'drivers/i2c/busses')
0 files changed, 0 insertions, 0 deletions