Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
f7518bd2
Commit
f7518bd2
authored
Jul 17, 2007
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (5859): use msecs_to_jiffies on InfraRed RC5 timeout
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
09df5cbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/media/common/ir-functions.c
drivers/media/common/ir-functions.c
+2
-2
No files found.
drivers/media/common/ir-functions.c
View file @
f7518bd2
...
...
@@ -345,8 +345,8 @@ void ir_rc5_timer_end(unsigned long data)
}
/* Set/reset key-up timer */
timeout
=
current_jiffies
+
(
500
+
ir
->
rc5_key_timeout
*
HZ
)
/
1000
;
timeout
=
current_jiffies
+
msecs_to_jiffies
(
ir
->
rc5_key_timeout
)
;
mod_timer
(
&
ir
->
timer_keyup
,
timeout
);
/* Save code for repeat test */
...
...
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