mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Reduce 'cw2217b_fg_mmi.ko' boot log printed.
cw2217b: Reduce 'cw2217b_fg_mmi.ko' log printed to improve ko loading time Change-Id: Ideb3b4c1edae893429b2e5c6c964f96cfb3bc49d Reviewed-on: https://gerrit.mot.com/2620316 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wentao Xu <xuwt2@motorola.com> Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a07f15833d
commit
64f13d6843
1 changed files with 4 additions and 2 deletions
|
|
@ -792,9 +792,11 @@ static int cw2217_get_state(struct cw_battery *cw_bat)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
reg_profile = REG_BAT_PROFILE + i;
|
||||
cw_printk("0x%2x = 0x%2x\n", reg_profile, reg_val);
|
||||
if (config_profile_info[i] != reg_val)
|
||||
if (config_profile_info[i] != reg_val) {
|
||||
cw_printk("config profile mismatch, config_profile_info[%d]: 0x%2x, reg_val[0x%2x]: 0x%2x\n",
|
||||
i, config_profile_info[i], reg_profile, reg_val);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( i != SIZE_OF_PROFILE)
|
||||
return CW2217_PROFILE_NEED_UPDATE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue