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:
Kaushal Kumar <kaushalk@codeaurora.org>
Loading
Please register or sign in to comment