diff options
author | 2020-09-17 12:39:21 -0500 | |
---|---|---|
committer | 2020-09-18 17:47:07 -0700 | |
commit | 2b09841c7e57c34dc11741ffd3696e91b81bcd79 (patch) | |
tree | 75b48478ea5f59fdcc3a9ee3abd48ff5f787ad39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ipa: use refcount_t for IPA clock reference count (diff) | |
download | linux-dev-2b09841c7e57c34dc11741ffd3696e91b81bcd79.tar.xz linux-dev-2b09841c7e57c34dc11741ffd3696e91b81bcd79.zip |
net: ipa: replace ipa->suspend_ref with a flag bit
We take a clock reference in ipa_config() in order to prevent the
the IPA clock from being shutdown until a power management suspend
request arrives. An atomic field in the IPA structure records
whether that extra reference had been taken.
Rather than using an atomic to represent a Boolean value, define
a new flags bitmap, and define a "clock held" flag to represent
whether the extra clock reference has been taken.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions