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

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

Merge "mhi: core: wakeup waiters if early error is received"

parents 0a45b467 ef3bd871
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -913,6 +913,9 @@ void mhi_control_error(struct mhi_controller *mhi_cntrl)
		goto exit_control_error;
	}

	/* notify waiters to bail out early since MHI has entered ERROR state */
	wake_up_all(&mhi_cntrl->state_event);

	/* start notifying all clients who request early notification */
	device_for_each_child(mhi_cntrl->dev, NULL, mhi_early_notify_device);