All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 8] Use usb_interface.dev for v4l2_device_register - try 2
@ 2009-03-29 14:57 Janne Grunau
  0 siblings, 0 replies; only message in thread
From: Janne Grunau @ 2009-03-29 14:57 UTC (permalink / raw)
  To: linux-media

Hi,

try 2: fixed typo in the cx231xx driver name, the name is set explicitly in
cx2311 not pvrusb2, spltted v4l2_device_register changes and name changes.

the documentation suggest and the current usb driver are using struct device
from the usb_device. As discussed for video_device parent the usb_interface
should be used. This has the advantage that v4l2_device_register creates
meaningfull names, for example "hdpvr usb2-3:1.0" instead of "usb 2-3".

This patch series updates Documentation/video4linux/v4l2-framework.txt and
hopefully all usb drivers uing v4l2_device.

The cx231xx and au0828 drivers are already overriding v4l2_device.name with a
driver name and a device counter. I removed that code since I suspect it was
only added to get meaningful names.
If the current names are preferred just NAK the patches removing that code.

regards,
Janne


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-29 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-29 14:57 [PATCH 0 of 8] Use usb_interface.dev for v4l2_device_register - try 2 Janne Grunau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.