diff options
author | 2015-11-01 10:04:41 +0100 | |
---|---|---|
committer | 2015-12-01 14:48:26 -0800 | |
commit | 9faae5a37b266afca6914163316856c5ed4ec366 (patch) | |
tree | e79425bf277d13755f4eb9467eac0201b1cdfbd2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | USB: constify usb_mon_operations structure (diff) | |
download | linux-dev-9faae5a37b266afca6914163316856c5ed4ec366.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions