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

Commit bf0c638f authored by zhaochen's avatar zhaochen
Browse files

msm: CDSP: add cdsp status when unload cdsp



Add CDSP UNLOAD status so that it can boot again after unload.

Change-Id: I44c4613b6e4e2d2220eb3a60c0f2de37701fa8ba
Signed-off-by: default avatarzhaochen <zhaochen@codeaurora.org>
parent e58604a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2014, 2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2014, 2017, 2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -143,6 +143,7 @@ static void cdsp_loader_unload(struct platform_device *pdev)
		dev_dbg(&pdev->dev, "%s: calling subsystem put\n", __func__);
		subsystem_put(priv->pil_h);
		priv->pil_h = NULL;
		cdsp_state = CDSP_SUBSYS_DOWN;
	}
}