diff options
author | Tony Lindgren <[email protected]> | 2018-07-05 02:10:16 -0700 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2018-07-17 10:49:10 +0200 |
commit | a4ab1086072365235864151bca57230afa8bcc93 (patch) | |
tree | 58fe55dd8f4b02cb46957867478e6afae06b6839 /tools/perf/scripts/python/flamegraph.py | |
parent | f913cfce4ee49a3382a9ff95696f49a46e56e974 (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