Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7fafae66 authored by Jean Delvare's avatar Jean Delvare Committed by Wolfram Sang
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarPeter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 1b295c83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment