Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ca21d2dc
Commit
ca21d2dc
authored
Apr 13, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (7544): em28xx: Fix timeout code
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
47625da2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx-video.c
+3
-3
No files found.
drivers/media/video/em28xx/em28xx-video.c
View file @
ca21d2dc
...
...
@@ -452,6 +452,7 @@ static void em28xx_uninit_isoc(struct em28xx *dev)
dev
->
isoc_ctl
.
num_bufs
=
0
;
del_timer
(
&
dev
->
vidq
.
timeout
);
em28xx_capture_start
(
dev
,
0
);
}
...
...
@@ -575,9 +576,8 @@ static void em28xx_vid_timeout(unsigned long data)
unsigned
long
flags
;
spin_lock_irqsave
(
&
dev
->
slock
,
flags
);
while
(
!
list_empty
(
&
vidq
->
active
))
{
buf
=
list_entry
(
vidq
->
active
.
next
,
struct
em28xx_buffer
,
vb
.
queue
);
list_for_each_entry
(
buf
,
vidq
->
active
.
next
,
vb
.
queue
)
{
list_del
(
&
buf
->
vb
.
queue
);
buf
->
vb
.
state
=
VIDEOBUF_ERROR
;
wake_up
(
&
buf
->
vb
.
done
);
...
...
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