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
nexedi
linux
Commits
306ef798
Commit
306ef798
authored
Jun 06, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: usb-midi driver: fixed memory flag, as pointed out by Oliver Neukum
parent
50aaaba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/usb/class/usb-midi.c
drivers/usb/class/usb-midi.c
+1
-1
No files found.
drivers/usb/class/usb-midi.c
View file @
306ef798
...
@@ -896,7 +896,7 @@ static int usb_midi_open(struct inode *inode, struct file *file)
...
@@ -896,7 +896,7 @@ static int usb_midi_open(struct inode *inode, struct file *file)
/* urb->dev must be reinitialized on 2.4.x kernels */
/* urb->dev must be reinitialized on 2.4.x kernels */
m
->
min
.
ep
->
urb
->
dev
=
m
->
min
.
ep
->
usbdev
;
m
->
min
.
ep
->
urb
->
dev
=
m
->
min
.
ep
->
usbdev
;
if
(
usb_submit_urb
(
m
->
min
.
ep
->
urb
,
GFP_
KERNEL
)
)
{
if
(
usb_submit_urb
(
m
->
min
.
ep
->
urb
,
GFP_
ATOMIC
)
)
{
printk
(
KERN_ERR
"usbmidi: Cannot submit urb for MIDI-IN
\n
"
);
printk
(
KERN_ERR
"usbmidi: Cannot submit urb for MIDI-IN
\n
"
);
}
}
m
->
min
.
ep
->
urbSubmitted
=
1
;
m
->
min
.
ep
->
urbSubmitted
=
1
;
...
...
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