net: ipa: sequencer type is for TX endpoints only
authorAlex Elder <elder@linaro.org>
Sat, 20 Mar 2021 15:57:06 +0000 (10:57 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Mar 2021 01:56:18 +0000 (18:56 -0700)
commit1690d8a75d873bf3c45ddce319f4902956d84bb0
tree7d97d43f224e8f6a9b6ae61f44498bdd5b42752a
parent8ee5df6598ff3c04f3842c87fa326d7cdbec9dd2
net: ipa: sequencer type is for TX endpoints only

We only program the sequencer type for TX endpoints.  So move the
definition of the sequencer type fields into the TX-specific portion
of the endpoint configuration data.  There's no need to maintain
this in the IPA structure; we can extract it from the configuration
data it points to in the one spot it's needed.

We previously specified the sequencer type for RX endpoints with
INVALID values.  These are no longer needed, so get rid of them.

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