linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] input: touchcreen: tsc2007: make interrupt optional
@ 2025-03-12  6:22 Svyatoslav Ryhel
  2025-03-12  6:22 ` [PATCH v2 1/2] input: touchcreen: tsc2007: change warning to debug message if pen GPIO is not defined Svyatoslav Ryhel
  2025-03-12  6:22 ` [PATCH v2 2/2] input: touchcreen: tsc2007: make interrupt optional Svyatoslav Ryhel
  0 siblings, 2 replies; 3+ messages in thread
From: Svyatoslav Ryhel @ 2025-03-12  6:22 UTC (permalink / raw)
  To: Dmitry Torokhov, Uwe Kleine-König; +Cc: linux-input, linux-kernel

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-12  6:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12  6:22 [PATCH v2 0/2] input: touchcreen: tsc2007: make interrupt optional Svyatoslav Ryhel
2025-03-12  6:22 ` [PATCH v2 1/2] input: touchcreen: tsc2007: change warning to debug message if pen GPIO is not defined Svyatoslav Ryhel
2025-03-12  6:22 ` [PATCH v2 2/2] input: touchcreen: tsc2007: make interrupt optional Svyatoslav Ryhel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).