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

Commit 7f8f72d8 authored by Brian Norris's avatar Brian Norris Committed by Kalle Valo
Browse files

ath10k: use crash_dump enum instead of magic numbers



The comments are telling you what the enum could tell you instead.

Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 9fb31b66
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -41,10 +41,8 @@ static bool uart_print;
static bool skip_otp;
static bool skip_otp;
static bool rawmode;
static bool rawmode;


/* Enable ATH10K_FW_CRASH_DUMP_REGISTERS and ATH10K_FW_CRASH_DUMP_CE_DATA
unsigned long ath10k_coredump_mask = BIT(ATH10K_FW_CRASH_DUMP_REGISTERS) |
 * by default.
				     BIT(ATH10K_FW_CRASH_DUMP_CE_DATA);
 */
unsigned long ath10k_coredump_mask = 0x3;


/* FIXME: most of these should be readonly */
/* FIXME: most of these should be readonly */
module_param_named(debug_mask, ath10k_debug_mask, uint, 0644);
module_param_named(debug_mask, ath10k_debug_mask, uint, 0644);