]> git.baikalelectronics.ru Git - kernel.git/commit
Input: aiptek - use descriptors of current altsetting
authorJohan Hovold <johan@kernel.org>
Fri, 10 Jan 2020 19:59:52 +0000 (11:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Jan 2020 22:42:56 +0000 (14:42 -0800)
commitd868d0684b69a404faa0bc914ad0c820c631a9ef
tree51b8568e9b458692b5fb3d4528341940112aebfa
parentb8bbacce7974f45098cbb631e66e39d1fcda180d
Input: aiptek - use descriptors of current altsetting

Make sure to always use the descriptors of the current alternate setting
to avoid future issues when accessing fields that may differ between
settings.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Vladis Dronov <vdronov@redhat.com>
Link: https://lore.kernel.org/r/20191210113737.4016-4-johan@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/aiptek.c