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

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

Merge "soc: qcom: Dump stack in case of SSR failure for wpss"

parents 93cba141 086639c2
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -686,14 +686,16 @@ static int subsystem_powerup(struct subsys_device *dev, void *data)
		notify_each_subsys_device(&dev, 1, SUBSYS_POWERUP_FAILURE,
								NULL);
		if (system_state == SYSTEM_RESTART
			|| system_state == SYSTEM_POWER_OFF)
			|| system_state == SYSTEM_POWER_OFF) {
			WARN(1, "SSR aborted: %s, system reboot/shutdown is under way\n",
				name);
		else if (!dev->desc->ignore_ssr_failure)
		} else if (!dev->desc->ignore_ssr_failure) {
			panic("[%s:%d]: Powerup error: %s!",
				current->comm, current->pid, name);
		else
			pr_err("Powerup failure on %s\n", name);
		} else {
			pr_err("Powerup failure on %s(rc:%d)\n", name, ret);
			dump_stack();
		}
		return ret;
	}