diff options
author | Alex Elder <elder@linaro.org> | 2021-03-28 12:31:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-28 18:12:03 -0700 |
commit | e695bed28a5da539144676d979f76c111f9f1020 (patch) | |
tree | 32d693fde9ebc63d3125ce7e9a4f9c9431d4e7f1 /drivers/net/ipa/ipa_data-sc7180.c | |
parent | 862d3f2c9bd100198fb1b0f7e7e155541b98e2bf (diff) | |
download | linux-e695bed28a5da539144676d979f76c111f9f1020.tar.bz2 |
net: ipa: store BCR register values in config data
The backward compatibility register value is a platform-specific
property that is not stored in the platform data. Create a data
field where this can be represented, and get rid ipa_reg_bcr_val().
This register is not present starting with IPA v4.5.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_data-sc7180.c')
-rw-r--r-- | drivers/net/ipa/ipa_data-sc7180.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_data-sc7180.c b/drivers/net/ipa/ipa_data-sc7180.c index c9b6a6aaadac..810c673be56e 100644 --- a/drivers/net/ipa/ipa_data-sc7180.c +++ b/drivers/net/ipa/ipa_data-sc7180.c @@ -349,6 +349,7 @@ static const struct ipa_clock_data ipa_clock_data = { /* Configuration data for the SC7180 SoC. */ const struct ipa_data ipa_data_sc7180 = { .version = IPA_VERSION_4_2, + /* backward_compat value is 0 */ .qsb_count = ARRAY_SIZE(ipa_qsb_data), .qsb_data = ipa_qsb_data, .endpoint_count = ARRAY_SIZE(ipa_gsi_endpoint_data), |