On Sun, 8 Jul 2012, Jonathan Nieder wrote:

> Eric Ding wrote:
> 
> > So it looks like you'd have to both look for USB_CLASS_VIDEO and check
> > uvc_ids[] too... which becomes somewhat hairy, since I assume you don't
> > realy want usb_detect_quirks() to reference UVC-specific structs...
> > which brings us back to the original laundry list approach of naming
> > several affected webcams explicitly, no?
> 
> Why wouldn't I want usb_detect_quirks() to reference UVC-specific
> structs?

Well, it's a layering violation.  Not to mention a duplication of code.

But if the alternative is to list every buggy webcam made by Logitech, 
it might be worthwhile.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to