Dan Carpenter 9ca766eaea gpio: winbond: Fix error code in winbond_gpio_get()
This error path returns 1, but it should instead propagate the negative
error code from winbond_sio_enter().

Fixes: a0d65009411c ("gpio: winbond: Add driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
2022-06-23 16:29:55 +02:00
..
2022-01-11 12:31:35 -08:00
2021-04-14 10:19:22 +01:00
2021-05-05 16:07:41 +02:00
2022-06-03 20:01:25 -07:00
2019-11-07 09:27:48 +01:00
2022-06-06 14:09:16 +03:00
2022-05-26 14:51:38 -07:00
2022-04-01 10:26:09 -07:00
2021-11-08 11:55:21 -08:00
2022-01-14 18:50:52 -05:00
2019-12-09 10:40:18 +01:00
2022-06-05 09:12:28 -07:00
2022-06-05 09:12:28 -07:00