]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: improve IPA clock error messages
authorAlex Elder <elder@linaro.org>
Wed, 4 Aug 2021 15:36:23 +0000 (10:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 10:27:04 +0000 (11:27 +0100)
commit95b3d95761dfd9ef587e47960cbcbdd46c22823b
tree823a419e902c5862cfa81564e0492d1067c88bfd
parent718a74b08cb4840fe35fb50b7d0927bfb3439c00
net: ipa: improve IPA clock error messages

Rearrange messages reported when errors occur in the IPA clock code,
so that the specific interconnect is identified when an error occurs
enabling or disabling it, or the core clock is indicated when an
error occurs enabling it.

Have ipa_interconnect_disable() return zero or the negative error
value returned by the first interconnect that produced an error
when disabled.  For now, the callers ignore the returned value.

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