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
0ea00738
Commit
0ea00738
authored
Dec 26, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: fix up some bugs in the cpia driver
parent
159863d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/media/video/cpia_usb.c
drivers/media/video/cpia_usb.c
+2
-2
No files found.
drivers/media/video/cpia_usb.c
View file @
0ea00738
...
...
@@ -486,7 +486,7 @@ static int cpia_probe(struct usb_interface *intf,
const
struct
usb_device_id
*
id
)
{
struct
usb_device
*
udev
=
interface_to_usbdev
(
intf
);
struct
usb_
interface_descriptor
*
interface
;
struct
usb_
host_interface
*
interface
;
struct
usb_cpia
*
ucpia
;
struct
cam_data
*
cam
;
int
ret
;
...
...
@@ -508,7 +508,7 @@ static int cpia_probe(struct usb_interface *intf,
memset
(
ucpia
,
0
,
sizeof
(
*
ucpia
));
ucpia
->
dev
=
udev
;
ucpia
->
iface
=
interface
->
bInterfaceNumber
;
ucpia
->
iface
=
interface
->
desc
.
bInterfaceNumber
;
init_waitqueue_head
(
&
ucpia
->
wq_stream
);
ucpia
->
buffers
[
0
]
=
vmalloc
(
sizeof
(
*
ucpia
->
buffers
[
0
]));
...
...
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