diff options
author | Super Liu <supercjliu@google.com> | 2022-09-02 10:38:27 +0800 |
---|---|---|
committer | Super Liu <supercjliu@google.com> | 2022-09-02 10:38:27 +0800 |
commit | aa8c95f9a4b81a9d34ea399acbe041906e32ff35 (patch) | |
tree | 9964eeac0a7932847d1077cddbdffa07404127c9 /goodix_ts_core.c | |
parent | 455bcd18a27f5abcf19be0061b601900946c9f61 (diff) | |
download | goodix_touch-aa8c95f9a4b81a9d34ea399acbe041906e32ff35.tar.gz |
touch/goodix: use GTI to request threaded irq.
Bug: 201610482
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ie608c6c38ecff4678de4d40a3d9e4e5e57a4f63f
Diffstat (limited to 'goodix_ts_core.c')
-rw-r--r-- | goodix_ts_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/goodix_ts_core.c b/goodix_ts_core.c index 38661f3..1734f19 100644 --- a/goodix_ts_core.c +++ b/goodix_ts_core.c @@ -1775,7 +1775,8 @@ static int goodix_ts_irq_setup(struct goodix_ts_core *core_data) } ts_info("IRQ:%u,flags:%d", core_data->irq, (int)ts_bdata->irq_flags); - ret = devm_request_threaded_irq(&core_data->pdev->dev, core_data->irq, + ret = goog_devm_request_threaded_irq(core_data->gti, + &core_data->pdev->dev, core_data->irq, goodix_ts_isr, goodix_ts_threadirq_func, ts_bdata->irq_flags | IRQF_ONESHOT, GOODIX_CORE_DRIVER_NAME, core_data); |