aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNikita Yushchenko <[email protected]>2017-05-19 17:48:02 +0300
committerJonathan Cameron <[email protected]>2017-05-20 17:35:52 +0100
commit61305664a542f874283f74bf0b27ddb31f5045d7 (patch)
tree2fa42a17780b8a4370ff5f484546e5ce083ae261 /tools/perf/scripts/python/stackcollapse.py
parentbd7026992f203d7a0b7e26d53b0b05739454f1df (diff)
iio: hi8435: cleanup reset gpio
Reset GPIO is active low. Currently driver uses gpiod_set_value(1) to clean reset, which depends on device tree to contain GPIO_ACTIVE_HIGH - that does not match reality. This fixes driver to use _raw version of gpiod_set_value() to enforce active-low semantics despite of what's written in device tree. Allowing device tree to override that only opens possibility for errors and does not add any value. Additionally, use _cansleep version to make things work with i2c-gpio and other sleeping gpio drivers. Signed-off-by: Nikita Yushchenko <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions