summaryrefslogtreecommitdiff
path: root/scripts/diffconfig
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-01 11:22:12 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-04-01 20:37:38 +0300
commitf13b7800929df0df0ba2407226ba1b627b482c92 (patch)
tree5e1fcf166f07f45506d5e2ec6f3b655c44c2e3a5 /scripts/diffconfig
parentdf53055c540fe8850f587a6ef0d6944bdd909483 (diff)
downloadlinux-f13b7800929df0df0ba2407226ba1b627b482c92.tar.xz
Input: usbtouchscreen - refactor endpoint lookup
Use the common USB helpers for looking up bulk and interrupt endpoints (and determining endpoint numbers) instead of open coding. Note that the NEXIO data interface has two bulk endpoints (see commit 5197424cdccc ("Input: usbtouchscreen - add NEXIO (or iNexio) support") for the descriptors). The lookup in probe handles both bulk-in and interrupt-in endpoints and was added to handle NEXIO devices. Replace the open coded lookup with a lookup for the common interrupt endpoint and an explicit fallback accepting a bulk endpoint. This iterates over the (two) endpoints twice for NEXIO devices but makes it more clear what is going on. Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260401082212.2180434-1-johan@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions