lkml.org 
[lkml]   [2016]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 06/20] drivers/tty/metag_da: Initialize timer as pinned
Pinned timers must carry that attribute in the timer itself. No functional
change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
drivers/tty/metag_da.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/drivers/tty/metag_da.c
===================================================================
--- a/drivers/tty/metag_da.c
+++ b/drivers/tty/metag_da.c
@@ -323,12 +323,12 @@ static void dashtty_timer(unsigned long
if (channel >= 0)
fetch_data(channel);

- mod_timer_pinned(&poll_timer, jiffies + DA_TTY_POLL);
+ mod_pinned(&poll_timer, jiffies + DA_TTY_POLL);
}

static void add_poll_timer(struct timer_list *poll_timer)
{
- setup_timer(poll_timer, dashtty_timer, 0);
+ setup_pinned_timer(poll_timer, dashtty_timer, 0);
poll_timer->expires = jiffies + DA_TTY_POLL;

/*

\
 
 \ /
  Last update: 2016-06-13 11:41    [W:0.199 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site