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
136537a2
Commit
136537a2
authored
Feb 19, 2003
by
Duncan Sands
Committed by
Greg Kroah-Hartman
Feb 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB speedtouch: take ref to USB device
udsl_atm_proc_read may be called after USB disconnect.
parent
4f88b00d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/usb/misc/speedtouch.c
drivers/usb/misc/speedtouch.c
+4
-0
No files found.
drivers/usb/misc/speedtouch.c
View file @
136537a2
...
@@ -703,6 +703,8 @@ static void udsl_atm_dev_close (struct atm_dev *dev)
...
@@ -703,6 +703,8 @@ static void udsl_atm_dev_close (struct atm_dev *dev)
PDEBUG
(
"udsl_atm_dev_close: killing tasklet
\n
"
);
PDEBUG
(
"udsl_atm_dev_close: killing tasklet
\n
"
);
tasklet_kill
(
&
instance
->
send_tasklet
);
tasklet_kill
(
&
instance
->
send_tasklet
);
PDEBUG
(
"udsl_atm_dev_close: freeing USB device
\n
"
);
usb_put_dev
(
instance
->
usb_dev
);
PDEBUG
(
"udsl_atm_dev_close: freeing instance
\n
"
);
PDEBUG
(
"udsl_atm_dev_close: freeing instance
\n
"
);
kfree
(
instance
);
kfree
(
instance
);
}
}
...
@@ -985,6 +987,8 @@ static int udsl_usb_probe (struct usb_interface *intf, const struct usb_device_i
...
@@ -985,6 +987,8 @@ static int udsl_usb_probe (struct usb_interface *intf, const struct usb_device_i
usb_set_intfdata
(
intf
,
instance
);
usb_set_intfdata
(
intf
,
instance
);
usb_get_dev
(
dev
);
return
0
;
return
0
;
fail:
fail:
...
...
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