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)
commita442b3c7554898ffafbc77ff49b08ec224caabd8
treec713a40de7227187db87f01d73b2bb915b1edef7
parent6f6746d7bab1bb5798b186cb35570d2c2f10201c
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