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

Skip to content
Commit 46060dde authored by Kaushal Kumar's avatar Kaushal Kumar Committed by Stephen Boyd
Browse files

msm: cpr: Add selective debug message logging



Add some verbose logging in some of the functions fordebugging.
Also, enable selective debug prints by configuring the debug_mask
module parameter. The debug prints are divided into 3
categories -
CONFIG (0x1) - Enable prints in configuration data
STEPS (0x2)- Enable prints in up/down interrupts
FREQ_TRANS (0x4) - Enable prints in frequency transitions

Individual category debug prints can be enabled by writing
into the module parameter at runtime.

Example:
Enable frequency transition debug messages
	echo 0x4 > /sys/module/msm_cpr/parameters/debug_mask

Change-Id: I43abf78201c5f4e099251cdd0c76551f7f2f01db
Signed-off-by: default avatarKaushal Kumar <kaushalk@codeaurora.org>
parent 8a96d4e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment