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

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

Merge "wcnss: Expose dump stack functionality"

parents 1df61e49 59d14ef6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3199,6 +3199,16 @@ void wcnss_flush_work(struct work_struct *work)
}
EXPORT_SYMBOL(wcnss_flush_work);

/* wlan prop driver cannot invoke show_stack
 * function directly, so to invoke this function it
 * call wcnss_dump_stack function
 */
void wcnss_dump_stack(struct task_struct *task)
{
	show_stack(task, NULL);
}
EXPORT_SYMBOL(wcnss_dump_stack);

/* wlan prop driver cannot invoke cancel_delayed_work_sync
 * function directly, so to invoke this function it call
 * wcnss_flush_delayed_work function
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
#define _WCNSS_WLAN_H_

#include <linux/device.h>
#include <linux/sched.h>

#define IRIS_REGULATORS		4
#define PRONTO_REGULATORS	3
@@ -136,6 +137,7 @@ void wcnss_flush_delayed_work(struct delayed_work *dwork);
void wcnss_init_work(struct work_struct *work , void *callbackptr);
void wcnss_init_delayed_work(struct delayed_work *dwork , void *callbackptr);
int wcnss_get_iris_name(char *iris_version);
void wcnss_dump_stack(struct task_struct *task);

#ifdef CONFIG_WCNSS_REGISTER_DUMP_ON_BITE
void wcnss_log_debug_regs_on_bite(void);