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

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

Merge "esoc: Notify mdm-helper about the modem's error fatal"

parents 496458cb 4dca34f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@ static int mdm_subsys_shutdown(const struct subsys_desc *crashed_subsys,
			 */
			return 0;

		esoc_clink_queue_request(ESOC_REQ_CRASH_SHUTDOWN, esoc_clink);
		esoc_client_link_power_off(esoc_clink, true);

		ret = clink_ops->cmd_exe(ESOC_PREPARE_DEBUG,
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ struct esoc_link_data {
#define ESOC_GET_LINK_ID	_IOWR(ESOC_CODE, 9, struct esoc_link_data)

#define ESOC_REQ_SEND_SHUTDOWN	ESOC_REQ_SEND_SHUTDOWN
#define ESOC_REQ_CRASH_SHUTDOWN ESOC_REQ_CRASH_SHUTDOWN

enum esoc_evt {
	ESOC_RUN_STATE = 0x1,
@@ -67,6 +68,7 @@ enum esoc_req {
	ESOC_REQ_DEBUG,
	ESOC_REQ_SHUTDOWN,
	ESOC_REQ_SEND_SHUTDOWN,
	ESOC_REQ_CRASH_SHUTDOWN,
};

#ifdef __KERNEL__