Thread (12 messages) 12 messages, 3 authors, 2015-05-24

Re: [PATCH 1/2] Input: smtpe-ts: Use msecs_to_jiffies() instead of HZ

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2015-05-08 05:28:25

On Fri, May 08, 2015 at 07:45:48AM +0530, Viresh Kumar wrote:
On 8 May 2015 at 07:23, Marek Vasut [off-list ref] wrote:
quoted
Use msecs_to_jiffies(20) instead of plain (HZ / 50), as the
former is much more explicit about it's behavior. We want
to schedule the task 20 mS from now, so make it explicit in
the code.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Vipul Kumar Samar <redacted>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/touchscreen/stmpe-ts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Applied both, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help