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

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

Merge "icnss: Make driver register asynchronous to probe" into msm-4.9

parents 85a7c2c7 3dd77c14
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2107,7 +2107,6 @@ static int icnss_driver_event_register_driver(void *data)

power_off:
	icnss_hw_power_off(penv);
	penv->ops = NULL;
out:
	return ret;
}
@@ -2639,7 +2638,7 @@ int icnss_register_driver(struct icnss_driver_ops *ops)
	}

	ret = icnss_driver_event_post(ICNSS_DRIVER_EVENT_REGISTER_DRIVER,
				      ICNSS_EVENT_SYNC, ops);
				      0, ops);

	if (ret == -EINTR)
		ret = 0;