mbox series

[v2,0/2] input: touchcreen: tsc2007: make interrupt optional

Message ID 20250312062228.11195-1-clamor95@gmail.com (mailing list archive)
Headers show
Series input: touchcreen: tsc2007: make interrupt optional | expand

Message

Svyatoslav Ryhel March 12, 2025, 6:22 a.m. UTC
In case tsc2007 is used as an ADC sensor there will be no interrupt
provided at all, so set up an interrupt only if one is present and
remove associated warning.

---
Changes in v2:
- commit spit into making interrupt optional and changing message typefrom
  warn to dbg
---

Svyatoslav Ryhel (2):
  input: touchcreen: tsc2007: change warning to debug message if pen
    GPIO is not defined
  input: touchcreen: tsc2007: make interrupt optional

 drivers/input/touchscreen/tsc2007_core.c | 30 ++++++++++++++----------
 1 file changed, 17 insertions(+), 13 deletions(-)