Skip to content

Commit

Permalink
drivers: input: toucscreen: Fix unbalanced irq
Browse files Browse the repository at this point in the history
<4>[ 1567.351182] ------------[ cut here ]------------
<4>[ 1567.351224] WARNING: CPU: 5 PID: 836 at ../../../../../../kernel/xiaomi/msm8953/kernel/irq/manage.c:451 __enable_irq+0x4c/0x90()
<4>[ 1567.351229] Unbalanced enable for IRQ 72
<4>[ 1567.351237] Modules linked in:
<4>[ 1567.351253] CPU: 5 PID: 836 Comm: HwBinder:546_2 Tainted: G        W      3.18.71-perf-gc0bd711 TheScarastic#3
<4>[ 1567.351258] Hardware name: Qualcomm Technologies, Inc. MSM8953 + PMI8950 QRD SKU3 (DT)
<0>[ 1567.351263] Call trace:
<4>[ 1567.351283] [<ffffffc000089c88>] dump_backtrace+0x0/0x258
<4>[ 1567.351292] [<ffffffc000089f00>] show_stack+0x20/0x28
<4>[ 1567.351311] [<ffffffc000fcde18>] dump_stack+0x80/0xa4
<4>[ 1567.351323] [<ffffffc0000a76f8>] warn_slowpath_common+0x90/0xb4
<4>[ 1567.351340] [<ffffffc0000fe294>] __enable_irq+0x4c/0x90
<4>[ 1567.351368] [<ffffffc000810560>] ft5435_ts_resume.isra.12+0xb4/0xd8
<4>[ 1567.351392] [<ffffffc0000c5ed0>] notifier_call_chain+0x58/0x8c
<4>[ 1567.351412] [<ffffffc0000c6384>] blocking_notifier_call_chain+0x38/0x44
<4>[ 1567.351432] [<ffffffc00045ff80>] fb_blank+0x9c/0xc4
<4>[ 1567.351447] [<ffffffc0004609fc>] fb_ioctl+0x54/0x64
<4>[ 1586.198413] ------------[ cut here ]------------

Change-Id: Idcc9ef2309dd30518c114deabe9f5f14a7b7b8ee
  • Loading branch information
TheScarastic authored and RahifM committed Jul 20, 2020
1 parent 7be6872 commit ee5132b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/ft5435/ft5435_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -1520,8 +1520,8 @@ static int ft5435_ts_resume(struct device *dev)


ft5x0x_write_reg(data->client, 0x8c, 0x01);
enable_irq(data->client->irq);
data->suspended = false;
enable_irq(data->client->irq);

#if defined(USB_CHARGE_DETECT)
queue_work(ft5435_wq, &data->work);
Expand Down

0 comments on commit ee5132b

Please sign in to comment.