Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2bb6f908
Commit
2bb6f908
authored
Sep 17, 2003
by
Daniel Drake
Committed by
Greg Kroah-Hartman
Sep 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: Debug code fixes for dabusb
parent
3dbe93bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/usb/media/dabusb.c
drivers/usb/media/dabusb.c
+2
-3
No files found.
drivers/usb/media/dabusb.c
View file @
2bb6f908
...
...
@@ -89,7 +89,6 @@ static int dabusb_add_buf_tail (pdabusb_t s, struct list_head *dst, struct list_
static
void
dump_urb
(
struct
urb
*
urb
)
{
dbg
(
"urb :%p"
,
urb
);
dbg
(
"next :%p"
,
urb
->
next
);
dbg
(
"dev :%p"
,
urb
->
dev
);
dbg
(
"pipe :%08X"
,
urb
->
pipe
);
dbg
(
"status :%d"
,
urb
->
status
);
...
...
@@ -728,7 +727,7 @@ static int dabusb_probe (struct usb_interface *intf,
pdabusb_t
s
;
dbg
(
"dabusb: probe: vendor id 0x%x, device id 0x%x ifnum:%d"
,
usbdev
->
descriptor
.
idVendor
,
usbdev
->
descriptor
.
idProduct
,
i
fnum
);
usbdev
->
descriptor
.
idVendor
,
usbdev
->
descriptor
.
idProduct
,
i
ntf
->
altsetting
->
desc
.
bInterfaceNumber
);
/* We don't handle multiple configurations */
if
(
usbdev
->
descriptor
.
bNumConfigurations
!=
1
)
...
...
@@ -762,7 +761,7 @@ static int dabusb_probe (struct usb_interface *intf,
goto
reject
;
}
}
dbg
(
"bound to interface: %d"
,
i
fnum
);
dbg
(
"bound to interface: %d"
,
i
ntf
->
altsetting
->
desc
.
bInterfaceNumber
);
usb_set_intfdata
(
intf
,
s
);
up
(
&
s
->
mutex
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment