Alex Elder 0305b70990 net: ipa: use refcount_t for IPA clock reference count
Take advantage of the checking provided by refcount_t, rather than
using a plain atomic to represent the IPA clock reference count.

Note that we need to *set* the value to 1 in ipa_clock_get() rather
than incrementing it from 0 (because doing that is considered an
error for a refcount_t).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-18 17:47:07 -07:00
..
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-07-13 17:11:53 -07:00
2020-08-26 16:12:31 -07:00