]> 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)
commita0f1ce952499daf469b7adf9e1291de56043ee83
tree7d97d43f224e8f6a9b6ae61f44498bdd5b42752a
parentd5c8c90c524790f048e521cdd8428150abacfbf1
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