summaryrefslogtreecommitdiffstats
path: root/drivers/usb/mon
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-11-01 10:04:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-01 23:48:26 +0100
commit9faae5a37b266afca6914163316856c5ed4ec366 (patch)
treee79425bf277d13755f4eb9467eac0201b1cdfbd2 /drivers/usb/mon
parentUSB: constify usb_mon_operations structure (diff)
downloadlinux-9faae5a37b266afca6914163316856c5ed4ec366.tar.xz
linux-9faae5a37b266afca6914163316856c5ed4ec366.zip
USB: bcma: switch to GPIO descriptor for power control
So far we were using simple (legacy) GPIO functions & some poor logic to control power. It got many drawbacks: we were ignoring OF flags (GPIO_ACTIVE_LOW), we were not setting direction to output and we were assuming gpio_request success all the time. Fix it by switching to gpiod functions and adding appropriate checks. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mon')
0 files changed, 0 insertions, 0 deletions