aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorPeter Rosin <[email protected]>2016-12-22 07:43:55 +0000
committerGreg Kroah-Hartman <[email protected]>2017-01-05 18:32:29 +0000
commit8f12dc24490bde0d604b8bdfca05ea4b06a624a7 (patch)
tree881e2d902e13b5d489cca3b2607541bcf78da0d6 /lib/timerqueue.c
parentusb: storage: unusual_uas: Add JMicron JMS56x to unusual device (diff)
downloadkernel-8f12dc24490bde0d604b8bdfca05ea4b06a624a7.tar.gz
kernel-8f12dc24490bde0d604b8bdfca05ea4b06a624a7.zip
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions