Skip to contentSkip to conversation

gspca: usb_set_interface() required for ISOC ep with altsetting of 0?

DISCUSSION Roel Kluin 2 participants 2 messages Jun 4, 2009 Media (V4L/DVB)

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

I noted that in get_ep() in drivers/media/video/gspca/gspca.c usb_set_interface() is not called for an ISOC endpoint with an altsetting of 0. Is that ok?

Roel

#1 lore raw
Quoted 3 lines · On Thu, 04 Jun 2009 19:28:16 +0200 Roel Kluin <[email protected]> wrote:

I noted that in get_ep() in drivers/media/video/gspca/gspca.c usb_set_interface() is not called for an ISOC endpoint with an altsetting of 0. Is that ok?

get_ep() has changed in the last releases. Now, usb_set_interface() is called on (gspca_dev->nbalt > 1), i.e when there is more than one alternate setting.

Signature · 2 lines
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/