]> 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)
commitf5c533e7d50e8071bc364956739b6d422f1c480c
tree823a419e902c5862cfa81564e0492d1067c88bfd
parent3caa89fd4c40b52563c54aa272fd714b6b99322f
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