]> 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)
commitfefa283d2bbb311b779d0aa86f426d894a7b1a1a
tree51b8568e9b458692b5fb3d4528341940112aebfa
parent832cec9373f41a760d4d92377bf9caab79055fd9
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