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

Commit 22c343a2 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

msm: ssr: Correct setting the subsystem crash status



The crash status for a subsystem is being set to true by default
when the function to set it is called.
Instead, use the crashed flag which is passed in as a parameter
to correctly set the subsystem's crash state.

Change-Id: Iccfa0823b5ba6049c28cfc91edcaf90ee4b99223
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent d96f7618
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -867,7 +867,7 @@ EXPORT_SYMBOL(subsystem_crashed);

void subsys_set_crash_status(struct subsys_device *dev, bool crashed)
{
	dev->crashed = true;
	dev->crashed = crashed;
}

bool subsys_get_crash_status(struct subsys_device *dev)