summaryrefslogtreecommitdiff
path: root/net/wireless/wext-spy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/wext-spy.c')
0 files changed, 0 insertions, 0 deletions
06a624a7'>881e2d902e13b5d489cca3b2607541bcf78da0d6 /drivers/usb/host parent674aea07e38200ea6f31ff6d5f200f0cf6cdb325 (diff)
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: 054d4b7b577d ("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>
Diffstat (limited to 'drivers/usb/host')