mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
ONELI: add sar sensor log
add sar sensor log Change-Id: I73bfb9692316d26971e04ff894ab104accb63181 Signed-off-by: qiurp1 <qiurp1@lenovo.com> Reviewed-on: https://gerrit.mot.com/2279259 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jiyue Cui <cuijy2@lenovo.com> Reviewed-by: Tao Sun <suntao2@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
1126a1c7e3
commit
a90e01d022
1 changed files with 5 additions and 5 deletions
|
|
@ -131,13 +131,14 @@ static void sx93XX_worker_func(struct work_struct *work)
|
|||
/* since we are not in an interrupt don't need to disable irq. */
|
||||
status = this->refreshStatus(this);
|
||||
counter = -1;
|
||||
LOG_DBG("Worker_func - Refresh Status %d, use_timer_in_irq:%d\n", status, this->useIrqTimer);
|
||||
|
||||
if(status != 0){
|
||||
LOG_INFO("Worker_func - Refresh Status %d, use_timer_in_irq:%d\n", status, this->useIrqTimer);
|
||||
}
|
||||
while((++counter) < MAX_NUM_STATUS_BITS) /* counter start from MSB */
|
||||
{
|
||||
if (((status>>counter) & 0x01) && (this->statusFunc[counter]))
|
||||
{
|
||||
LOG_DBG("SX937x Function Pointer Found. Calling\n");
|
||||
LOG_INFO("SX937x Function Pointer Found. Calling counter==%d\n",counter);
|
||||
this->statusFunc[counter](this);
|
||||
}
|
||||
}
|
||||
|
|
@ -874,7 +875,7 @@ static void touchProcess(psx93XX_t this)
|
|||
if (this)
|
||||
{
|
||||
sx937x_i2c_read_16bit(this->bus, SX937X_DEVICE_STATUS_A, &i);
|
||||
LOG_DBG("touchProcess STAT0_REG:0x%08x\n", i);
|
||||
LOG_INFO("touchProcess STAT0_REG:0x%x val 0x%08x\n", SX937X_DEVICE_STATUS_A, i);
|
||||
|
||||
buttons = this->hw->buttons;
|
||||
numberOfButtons = this->hw->buttonSize;
|
||||
|
|
@ -938,7 +939,6 @@ static void touchProcess(psx93XX_t this)
|
|||
}
|
||||
}
|
||||
}
|
||||
LOG_INFO("Leaving touchProcess()\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue