Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 651854c6 authored by Ghanim Fodi's avatar Ghanim Fodi Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: Fix IPA driver usage of msm-bus driver structure



IPA driver assumes specific msm-bus driver structure fields offset
that break compilation when these structures changed.
Update IPA driver usage of these structures to be less
coupled with.

Change-Id: I9972e52e1c53d8b9138196e99d8a7f8d81604020
Signed-off-by: default avatarGhanim Fodi <gfodi@codeaurora.org>
parent e4e90297
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1149,18 +1149,18 @@ static struct msm_bus_vectors ipa_nominal_perf_vectors_v3_0[] = {

static struct msm_bus_paths ipa_usecases_v3_0[]  = {
	{
		ARRAY_SIZE(ipa_init_vectors_v3_0),
		ipa_init_vectors_v3_0,
		.num_paths = ARRAY_SIZE(ipa_init_vectors_v3_0),
		.vectors = ipa_init_vectors_v3_0,
	},
	{
		ARRAY_SIZE(ipa_nominal_perf_vectors_v3_0),
		ipa_nominal_perf_vectors_v3_0,
		.num_paths = ARRAY_SIZE(ipa_nominal_perf_vectors_v3_0),
		.vectors = ipa_nominal_perf_vectors_v3_0,
	},
};

static struct msm_bus_scale_pdata ipa_bus_client_pdata_v3_0 = {
	ipa_usecases_v3_0,
	ARRAY_SIZE(ipa_usecases_v3_0),
	.usecase = ipa_usecases_v3_0,
	.num_usecases = ARRAY_SIZE(ipa_usecases_v3_0),
	.name = "ipa",
};