mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
fixup! (CR) stmicro_mmi: bug fixes and new features
Fixing up leftovers Mot-CRs-fixed: (CR) Signed-off-by: Konstantin Makariev <hcv867@motorola.com> Change-Id: I559bd6ec3595eec0168af4efaa0743ef2160463a Reviewed-on: https://gerrit.mot.com/1902234 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Ling Jin <lingjin@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
76e637d7a2
commit
4060c33bf0
1 changed files with 1 additions and 5 deletions
|
|
@ -880,7 +880,7 @@ int writeConfig(u16 offset, u8 *data, int len)
|
|||
*/
|
||||
int fts_disableInterrupt(void)
|
||||
{
|
||||
//unsigned long flag;
|
||||
unsigned long flag;
|
||||
|
||||
if (getClient() != NULL) {
|
||||
spin_lock_irqsave(&fts_int, flag);
|
||||
|
|
@ -916,9 +916,7 @@ int fts_disableInterruptNoSync(void)
|
|||
}
|
||||
/* disable_irq is re-entrant so it is required to keep track
|
||||
* of the number of calls of this when reenabling */
|
||||
|
||||
spin_unlock(&fts_int);
|
||||
//logError(0, "%s Interrupt No Sync Disabled!\n", tag);
|
||||
return OK;
|
||||
} else {
|
||||
logError(1, "%s %s: Impossible get client irq... ERROR %08X\n",
|
||||
|
|
@ -960,9 +958,7 @@ int fts_enableInterrupt(void)
|
|||
enable_irq(getClient()->irq);
|
||||
disable_irq_count--;
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore(&fts_int, flag);
|
||||
//logError(0, "%s Interrupt Enabled!\n", tag);
|
||||
return OK;
|
||||
} else {
|
||||
logError(1, "%s %s: Impossible get client irq... ERROR %08X\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue