Peter Rosin
8f12dc2449
usb: ohci-at91: use descriptor-based gpio APIs correctly
...
The gpiod_get* function family does not want the -gpio suffix.
Use devm_gpiod_get_index_optional instead of devm_gpiod_get_optional.
The descriptor based APIs handle active high/low automatically.
The vbus-gpios are output, request enable while getting the gpio.
Don't try to get any vbus-gpios for ports outside num-ports.
WTF? Big sigh.
Fixes: 054d4b7b57 ("usb: ohci-at91: Use descriptor-based gpio APIs")
Signed-off-by: Peter Rosin <peda@axentia.se >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-01-05 19:32:29 +01:00
..
2016-12-24 11:46:01 -08:00
2016-12-13 15:30:50 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 14:56:58 -08:00
2016-12-25 17:21:22 +01:00
2016-12-16 10:24:44 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 11:04:12 +01:00
2016-12-15 16:06:15 -08:00
2016-12-25 14:30:04 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-27 17:51:36 -08:00
2016-12-18 15:49:10 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-14 11:14:28 -08:00
2016-12-19 10:01:47 +01:00
2016-12-19 08:16:26 -08:00
2016-12-25 17:21:22 +01:00
2016-12-14 10:12:26 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-13 10:41:53 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-22 10:19:32 -08:00
2016-12-25 14:30:04 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-13 12:11:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-13 10:19:16 -08:00
2016-12-24 11:46:01 -08:00
2016-12-19 08:16:26 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-27 16:04:37 -08:00
2016-12-23 16:11:07 -05:00
2016-12-24 11:46:01 -08:00
2016-12-18 15:49:10 -08:00
2016-12-19 08:35:24 -07:00
2016-12-15 12:46:48 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 18:55:06 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2016-12-15 15:50:24 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 19:56:15 -08:00
2016-12-15 11:45:13 -08:00
2016-12-19 08:16:26 -08:00
2016-12-15 16:03:25 -08:00
2016-12-13 08:52:45 -08:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 14:30:04 -08:00
2016-12-12 18:55:08 -08:00
2016-12-16 09:26:42 -08:00
2016-12-14 20:42:45 -08:00
2016-12-25 10:47:43 +01:00
2016-12-21 10:16:05 -08:00
2016-12-13 10:41:53 -08:00
2016-12-13 12:11:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-05 19:32:29 +01:00
2016-12-16 09:26:42 -08:00
2016-12-16 10:24:44 -08:00
2016-12-24 11:46:01 -08:00
2016-12-16 00:13:39 +02:00
2016-12-24 11:27:45 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00