Skip to content

Commit

Permalink
staging: vchiq_arm: Add log_level module params
Browse files Browse the repository at this point in the history
Add module parameters to control the logging levels for the various
vchiq logging categories.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell authored and popcornmix committed May 16, 2022
1 parent f80109a commit 27e0756
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@
/* Run time control of log level, based on KERN_XXX level. */
int vchiq_arm_log_level = VCHIQ_LOG_DEFAULT;
int vchiq_susp_log_level = VCHIQ_LOG_ERROR;
module_param_named(arm_log_level, vchiq_arm_log_level, int, 0644);
module_param_named(susp_log_level, vchiq_susp_log_level, int, 0644);
module_param_named(core_log_level, vchiq_core_log_level, int, 0644);
module_param_named(core_msg_log_level, vchiq_core_msg_log_level, int, 0644);
module_param_named(sync_log_level, vchiq_sync_log_level, int, 0644);

DEFINE_SPINLOCK(msg_queue_spinlock);
struct vchiq_state g_state;
Expand Down

0 comments on commit 27e0756

Please sign in to comment.