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

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

Merge "msm: pil: Use smem_get_entry_to_proc()"

parents b26a0ee6 a27c8c80
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -288,8 +288,10 @@ static void log_wcnss_sfr(void)
	char *smem_reset_reason;
	unsigned smem_reset_size;

	smem_reset_reason = smem_get_entry(SMEM_SSR_REASON_WCNSS0,
					   &smem_reset_size);
	smem_reset_reason = smem_get_entry_to_proc(SMEM_SSR_REASON_WCNSS0,
					   &smem_reset_size,
					   0,
					   SMEM_ANY_HOST_FLAG);

	if (!smem_reset_reason || !smem_reset_size) {
		pr_err("wcnss subsystem failure reason:\n"
+2 −1
Original line number Diff line number Diff line
@@ -240,7 +240,8 @@ static void adsp_log_failure_reason(void)
	char buffer[81];
	unsigned size;

	reason = smem_get_entry(SMEM_SSR_REASON_LPASS0, &size);
	reason = smem_get_entry_to_proc(SMEM_SSR_REASON_LPASS0, &size, 0,
							SMEM_ANY_HOST_FLAG);

	if (!reason) {
		pr_err("ADSP subsystem failure reason: (unknown, smem_get_entry failed).");