V4L/DVB (5507): Pvrusb2: Gather USB bus address info and report it
authorMike Isely <isely@pobox.com>
Sun, 8 Apr 2007 04:11:47 +0000 (01:11 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:30 +0000 (15:45 -0300)
commit31a1854706707dc3b67eb0d3bf0f51c67d91c82e
tree724a4659f07d8b040578da07de3f07909336116d
parent4f210e072235c3c123b068d348a1a02e624ff5be
V4L/DVB (5507): Pvrusb2: Gather USB bus address info and report it

The V4L2 API requires a unique bus_info string returned as part of the
v4l2_capability structure.  These changes gather up the USB address
information, from the underlying device, into a string and report that
out through v4l2 and via sysfs (for completeness).

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
drivers/media/video/pvrusb2/pvrusb2-hdw.c
drivers/media/video/pvrusb2/pvrusb2-hdw.h
drivers/media/video/pvrusb2/pvrusb2-sysfs.c
drivers/media/video/pvrusb2/pvrusb2-v4l2.c