]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49385846c17b93e80fc048b64288e51224a179ba
tree61ef3162d7dd506967d6fe6165644e2cd367e00d
parent5ca10706d88fa568e43fb27b6290087fdb322f16
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