usbtouchscreen: use endpoint address from endpoint descriptor
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>
Fri, 27 Oct 2006 20:46:03 +0000 (22:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Nov 2006 19:57:18 +0000 (11:57 -0800)
commitd8fa59a8f6f7c9a1bc294154fd6805c6b247683d
tree28bcca9b144827546224b8394abbc33bc20fc7de
parentbaafe37c6a58d4ddb8c2c62cd0f20340b4c66b35
usbtouchscreen: use endpoint address from endpoint descriptor

use the endpoint address from the endpoint descriptor instead of the hardcoding
it to 0x81. at least some ITM based screen use a different address and don't work
without this.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Ralf Lehmann <ralf@lehmann.cc>
Cc: J.P. Delport <jpdelport@csir.co.za>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/usbtouchscreen.c