[media] siano: use USB endpoint descriptors for in/out endp
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Mar 2013 12:53:50 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:38:02 +0000 (07:38 -0300)
commit05f0ffbc487517a529c00119d0bfde33df509b52
tree34f79acb84832fd5f59ac426d972533be6ee3f7a
parentdb30567a63db0094e03338462939031edf558cc8
[media] siano: use USB endpoint descriptors for in/out endp

Instead of using hardcoded descriptors, detect them from the
USB descriptors.
This patch is rebased form Doron Cohen's patch:
http://patchwork.linuxtv.org/patch/7883/

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/siano/smsusb.c