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

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

Merge "soc: qcom: Return failure when subsystem descriptor is NULL"

parents 0abb1c13 43b2f775
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -572,7 +572,7 @@ int wait_for_shutdown_ack(struct subsys_desc *desc)
{
	int count;

	if (desc && !desc->shutdown_ack_gpio)
	if (!desc || !desc->shutdown_ack_gpio)
		return 0;

	for (count = SHUTDOWN_ACK_MAX_LOOPS; count > 0; count--) {