]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3478c8ec8ef2de9cc53fbe645c0615978bdb047f
tree7d97d43f224e8f6a9b6ae61f44498bdd5b42752a
parent2a1bd92564a9fe42bc47769a4565690ee953552f
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