net: ipa: update sequencer definition constraints
authorAlex Elder <elder@linaro.org>
Sat, 10 Sep 2022 01:11:30 +0000 (20:11 -0500)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 14:45:47 +0000 (07:45 -0700)
commita14d593724c44098caf7fa5298ce4850af6ab9e0
tree61ef3162d7dd506967d6fe6165644e2cd367e00d
parent9eefd2fb966da7034528ce9bfc8a7fc03869f589
net: ipa: update sequencer definition constraints

Starting with IPA v4.5, replication is done differently from before,
and as a result the "replication" portion of the how the sequencer
is specified must be zero.

Add a check for the configuration data failing that requirement, and
only update the sesquencer type value when it's supported.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_endpoint.c
drivers/net/ipa/ipa_reg.h