[media] gspca - main: rename build_ep_tb to build_isoc_ep_tb
authorHans de Goede <hdegoede@redhat.com>
Fri, 30 Dec 2011 10:58:10 +0000 (07:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 11:00:46 +0000 (09:00 -0200)
commit66957b864646e2ea0aebc66d1173f39a63509a19
tree9caca677f4590e18bf5995cd4eb27c6dd3248b33
parent18bef42c2d9a63e028261b88e9202b6d0d34292b
[media] gspca - main: rename build_ep_tb to build_isoc_ep_tb

After the "gspca: Fix bulk mode cameras no longer working (regression fix)"
patch build_ep_tb is no longer being called for bulk endpoints.

This patch renames build_ep_tb to build_isoc_ep_tb to make clear it should
only be called for isoc mode cameras.

This patch also:
- drops the no longer needed xfer parameter
- removes a check for bulk mode from the build_isoc_ep_tb code

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c