]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: always report GSI state errors
authorAlex Elder <elder@linaro.org>
Tue, 30 Jun 2020 12:58:44 +0000 (07:58 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jul 2020 22:29:07 +0000 (15:29 -0700)
commitf8a66ca02b0764675be67732d0bcbc7c7c972e55
treec713a40de7227187db87f01d73b2bb915b1edef7
parent377033364d631221b0d7b1f4d564d0ac05cf6c03
net: ipa: always report GSI state errors

We check the state of an event ring or channel both before and after
any GSI command issued that will change that state.  In most--but
not all--cases, if the state is something different than expected we
report an error message.

Add error messages where missing, so that all unexpected states
provide information about what went wrong.  Drop the parentheses
around the state value shown in all cases.

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