diff options
author | Antonio Ospite <ao2@ao2.it> | 2014-06-25 06:27:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-04 14:50:11 -0300 |
commit | 2fe152451df0ead7e1ca14c0c6210b13226feafb (patch) | |
tree | dabdc7015cc8fb06b32b40619065ef69c4426709 /drivers/memstick | |
parent | b5b620584b9c4644b85e932895a742e0c192d66c (diff) |
[media] gspca: provide a mechanism to select a specific transfer endpoint
Currently gspca selects the first ISOC input endpoint as the input
transfer endpoint, however some devices can provide streams on endpoints
different then the first one, so some subdrivers (e.g. gspca_kinect) may
want to select a specific endpoint to use as a transfer endpoint.
Add an xfer_ep field to struct gspca_dev, and change alt_xfer() so that
it accepts a parameter which represents a specific endpoint address to
look for.
If a subdriver wants to specify a value for gspca_dev->xfer_ep it can do
that in its sd_config() callback.
Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions