aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2018-07-05 02:10:16 -0700
committerLinus Walleij <[email protected]>2018-07-17 10:49:10 +0200
commita4ab1086072365235864151bca57230afa8bcc93 (patch)
tree58fe55dd8f4b02cb46957867478e6afae06b6839 /tools/perf/scripts/python/flamegraph.py
parentf913cfce4ee49a3382a9ff95696f49a46e56e974 (diff)
pinctrl: single: Fix group and function selector use
We must use a mutex around the generic_add functions and save the function and group selector in case we need to remove them. Otherwise the selector use will be racy for deferred probe at least. Note that struct device_node *np is unused in pcs_add_function() we remove that too and fix a checkpatch warning for bare unsigned while at it. Fixes: 571aec4df5b7 ("pinctrl: single: Use generic pinmux helpers for managing functions") Reported-by: H. Nikolaus Schaller <[email protected]> Cc: Christ van Willegen <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Jacopo Mondi <[email protected]> Cc: Paul Cercueil <[email protected]> Cc: Sean Wang <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Tested-By: H. Nikolaus Schaller <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions