net: ipa: mode register is TX only
authorAlex Elder <elder@linaro.org>
Tue, 30 Jun 2020 13:33:02 +0000 (08:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jul 2020 22:30:34 +0000 (15:30 -0700)
commit00b9102afadf08af6cd283400809163f7d4680af
tree897e4e569d2041cfb870048d6d01a8c0e98d97b0
parent9b63f09378ff9df220d154a89910a3c0f8e036e6
net: ipa: mode register is TX only

The INIT_MODE endpoint configuration register is only valid for TX
endpoints.  Rather than writing a zero to that register for RX
endpoints, avoid writing the register at all.

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