Re: [PATCH v2 11/15] pinctrl-sx150x: Improve oscio GPIO functions

2016-11-08 Thread Linus Walleij
On Mon, Nov 7, 2016 at 5:53 PM, Andrey Smirnov wrote: > Move actual code that configures oscio pin into a separate function and > use it instead of calling sx150x_gpio_set to avoid calling > sx150x_pin_is_oscio twice and correctly propagte error code in > sx150x_gpio_direction_output. > > Tested-

[PATCH v2 11/15] pinctrl-sx150x: Improve oscio GPIO functions

2016-11-07 Thread Andrey Smirnov
Move actual code that configures oscio pin into a separate function and use it instead of calling sx150x_gpio_set to avoid calling sx150x_pin_is_oscio twice and correctly propagte error code in sx150x_gpio_direction_output. Tested-by: Neil Armstrong Acked-by: Neil Armstrong Signed-off-by: Andrey