BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rpusbdisp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Forest Godfrey
rpusbdisp
Commits
d10c7e44
Commit
d10c7e44
authored
Jun 19, 2014
by
Shikai Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a potential crash bug caused by invoking mutex in interrupt context
parent
0b15385e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
usbhandlers.c
drivers/linux-driver/src/usbhandlers.c
+0
-6
No files found.
drivers/linux-driver/src/usbhandlers.c
View file @
d10c7e44
...
...
@@ -241,13 +241,9 @@ static void _on_display_transfer_finished(struct urb *urb)
static
void
_on_status_query_finished
(
struct
urb
*
urb
)
{
struct
rpusbdisp_dev
*
dev
=
urb
->
context
;
mutex_lock
(
&
dev
->
op_locker
);
if
(
!
dev
->
is_alive
)
{
mutex_unlock
(
&
dev
->
op_locker
);
return
;
}
...
...
@@ -273,8 +269,6 @@ static void _on_status_query_finished(struct urb *urb)
if
(
dev
->
urb_status_fail_count
<
RPUSBDISP_STATUS_QUERY_RETRY_COUNT
)
{
_status_start_querying
(
dev
);
}
mutex_unlock
(
&
dev
->
op_locker
);
}
...
...
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