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

Commit 79e5a6f4 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: Enable dynamic switch between WDI2 and WDI3"

parents fa744a0f 759bd95c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -166,6 +166,8 @@ struct ipa_wdi3_data {
	int (*ipa_wdi_bw_monitor)(struct ipa_wdi_bw_info *info);

	int (*ipa_wdi_sw_stats)(struct ipa_wdi_tx_info *info);

	int (*ipa_get_wdi_version)(void);
};

struct ipa_gsb_data {
+6 −0
Original line number Diff line number Diff line
@@ -371,6 +371,7 @@ int ipa_wdi_bw_monitor(struct ipa_wdi_bw_info *info);
 *
 */
int ipa_wdi_sw_stats(struct ipa_wdi_tx_info *info);
int ipa_get_wdi_version(void);

#else /* IS_ENABLED(CONFIG_IPA3) */

@@ -380,6 +381,11 @@ static inline int ipa_wdi_init(struct ipa_wdi_init_in_params *in,
	return -EPERM;
}

static inline int ipa_get_wdi_version(void)
{
	return -EPERM;
}

static inline int ipa_wdi_cleanup(void)
{
	return -EPERM;