From: Cameron Gutman Date: Tue, 12 Sep 2017 18:27:44 +0000 (-0700) Subject: Input: xpad - validate USB endpoint type during probe X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5025b4788cafc54fb0160d9d8a6ff0fd42416f5;p=pandora-kernel.git Input: xpad - validate USB endpoint type during probe commit 122d6a347329818419b032c5a1776e6b3866d9b9 upstream. We should only see devices with interrupt endpoints. Ignore any other endpoints that we find, so we don't send try to send them interrupt URBs and trigger a WARN down in the USB stack. Reported-by: Andrey Konovalov Tested-by: Andrey Konovalov Signed-off-by: Cameron Gutman Signed-off-by: Dmitry Torokhov Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed