aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2017-05-23 20:03:20 +0300
committerLinus Walleij <[email protected]>2017-05-29 11:18:44 +0200
commit6fe9da42f1d98fdb4be1598e230aca97e66cf35d (patch)
tree2739ee553b7d5e00333196dc9e6a422a48738c62 /tools/perf/scripts/python
parentf10e4bf6632b5be11cea875b66ba959833a69258 (diff)
gpio: acpi: Synchronize acpi_find_gpio() and acpi_gpio_count()
If we pass connection ID to the both functions and at the same time acpi_can_fallback_to_crs() returns false we will get different results, i.e. the number of GPIO resources returned by acpi_gpio_count() might be not correct. Fix this by calling acpi_can_fallback_to_crs() in acpi_gpio_count() before trying to fallback. Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Jarkko Nikula <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions