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

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

Merge "mhi: core: create sysfs nodes before devices"

parents 9bc43965 b56c8409
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -536,14 +536,14 @@ static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl)

	mhi_special_events_pending(mhi_cntrl);

	/* setup sysfs nodes for userspace votes */
	mhi_create_sysfs(mhi_cntrl);

	MHI_LOG("Adding new devices\n");

	/* add supported devices */
	mhi_create_devices(mhi_cntrl);

	/* setup sysfs nodes for userspace votes */
	mhi_create_sysfs(mhi_cntrl);

	read_lock_bh(&mhi_cntrl->pm_lock);

error_mission_mode: