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

Commit 42608bf2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: rmnet_ipa: fix for boot crash"

parents 1a95dad5 94308768
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1437,6 +1437,7 @@ static void ipa_rm_notify(void *dev, enum ipa_rm_event event,
 * 0: success
 * -ENOMEM: No memory available
 * -EFAULT: Internal error
 * -ENODEV: IPA driver not loaded
 */
static int ipa_wwan_probe(struct platform_device *pdev)
{
@@ -1446,6 +1447,11 @@ static int ipa_wwan_probe(struct platform_device *pdev)
	struct ipa_rm_create_params ipa_rm_params;	/* IPA_RM */
	struct ipa_rm_perf_profile profile;			/* IPA_RM */

	if (!ipa_is_ready()) {
		IPAWANERR("IPA driver not loaded\n");
		return -ENODEV;
	}

	/* start A7 QMI service/client */
	ret = ipa_qmi_service_init();