projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade0815
)
V4L/DVB (10303): pvrusb2: Use usb_make_path() to determine device bus location
author
Mike Isely
<isely@pobox.com>
Fri, 23 Jan 2009 04:20:24 +0000
(
01:20
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:26 +0000
(12:42 -0300)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-hdw.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index ac5dad0c5fb04750d4f274fdadf8c62efcb7f2dd..ed8a4561e086cfc2c2ddd05a84228773d0cb0402 100644
(file)
--- a/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@
-2412,10
+2412,7
@@
struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
hdw->usb_intf = intf;
hdw->usb_dev = interface_to_usbdev(intf);
- scnprintf(hdw->bus_info,sizeof(hdw->bus_info),
- "usb %s address %d",
- dev_name(&hdw->usb_dev->dev),
- hdw->usb_dev->devnum);
+ usb_make_path(hdw->usb_dev, hdw->bus_info, sizeof(hdw->bus_info));
ifnum = hdw->usb_intf->cur_altsetting->desc.bInterfaceNumber;
usb_set_interface(hdw->usb_dev,ifnum,0);