OSDN Git Service

net: ipa: disable clock in suspend
authorAlex Elder <elder@linaro.org>
Tue, 10 Aug 2021 19:26:59 +0000 (14:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Aug 2021 12:31:55 +0000 (13:31 +0100)
commit1016c6b8c62152eaa9ad31a9905a816e58333afa
tree07475f612c19960b629e0592f63f8d0d0a9e504b
parent7ebd168c3bfc3ebf113545170c2bb28d02f0ba15
net: ipa: disable clock in suspend

Disable the IPA clock rather than dropping a reference to it in the
system suspend callback.  This forces the suspend to occur without
affecting existing references.

Similarly, enable the clock rather than taking a reference in
ipa_resume(), forcing a resume without changing the reference count.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_clock.c