media: flexcop-usb: sanity checking of endpoint type

Make sure the endpoint is ISOC in and do not hard code USB_DIR_IN.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Oliver Neukum 2020-09-24 13:37:40 +02:00 • committed by Mauro Carvalho Chehab
commit d725d20e81
2 changed files with 3 additions and 1 deletions