Re: [PATCH] V4L/pwc - use usb_interface as parent, not usb_device

2009-06-07 Thread Hans de Goede
Looks good, we recently fixed the same issue in the gspca driver to, Acked-by: Hans de Goede hdego...@redhat.com On 06/04/2009 09:18 PM, Lennart Poettering wrote: The current code creates a sysfs device path where the video4linux device is child of the usb device itself instead of the

[PATCH] V4L/pwc - use usb_interface as parent, not usb_device

2009-06-04 Thread Lennart Poettering
The current code creates a sysfs device path where the video4linux device is child of the usb device itself instead of the interface it belongs to. That is evil and confuses udev. This patch does basically the same thing as Kay's similar patch for the ov511 driver: