aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorRafał Miłecki <[email protected]>2015-11-01 10:04:41 +0100
committerGreg Kroah-Hartman <[email protected]>2015-12-01 14:48:26 -0800
commit9faae5a37b266afca6914163316856c5ed4ec366 (patch)
treee79425bf277d13755f4eb9467eac0201b1cdfbd2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent6fb8ac81cb3125aafc7136f2ef0145da792bab94 (diff)
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 <[email protected]> Acked-by: Hauke Mehrtens <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions