mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
pstar: input touch fix disable irq panic
input touch fix disable irq issue Change-Id: I401c2d24099f92fa91b8eae1d6ca917fdd9610c1 Signed-off-by: dengwei1 <dengwei1@motorola.com> Reviewed-on: https://gerrit.mot.com/1901003 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
2aee554600
commit
8eeb76e205
1 changed files with 3 additions and 3 deletions
|
|
@ -875,10 +875,10 @@ 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);
|
||||
//spin_lock_irqsave(&fts_int, flag);
|
||||
logError(0, "%s Number of disable = %d\n", tag,
|
||||
disable_irq_count);
|
||||
if (disable_irq_count == 0) {
|
||||
|
|
@ -888,7 +888,7 @@ int fts_disableInterrupt(void)
|
|||
}
|
||||
/* disable_irq is re-entrant so it is required to keep track
|
||||
* of the number of calls of this when reenabling */
|
||||
spin_unlock_irqrestore(&fts_int, flag);
|
||||
//spin_unlock_irqrestore(&fts_int, flag);
|
||||
logError(0, "%s Interrupt Disabled!\n", tag);
|
||||
return OK;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue