diff options
author | 2012-03-02 13:05:46 -0700 | |
---|---|---|
committer | 2012-03-05 11:21:46 +0100 | |
commit | 0e3db173e2b9fd3b82246516e72c17763eb5f98d (patch) | |
tree | ce00c29c56332c925766f7f793d388b9670d802f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pinctrl: refactor struct pinctrl handling in core.c vs pinmux.c (diff) | |
download | linux-dev-0e3db173e2b9fd3b82246516e72c17763eb5f98d.tar.xz linux-dev-0e3db173e2b9fd3b82246516e72c17763eb5f98d.zip |
pinctrl: add usecount to pins for muxing
Multiple mapping table entries could reference the same pin, and hence
"own" it. This would be unusual now that pinctrl_get() represents a single
state for a client device, but in the future when it represents all known
states for a device, this is quite likely. Implement reference counting
for pin ownership to handle this.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions