]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit8ee7c40a25c70951c6e5db8e921fd08e4e038c6d
tree823a419e902c5862cfa81564e0492d1067c88bfd
parent10cc73c4b7feaa74abfbead404ae4eb28ba60310
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