From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH 1/2] Input: smtpe-ts: Use msecs_to_jiffies() instead of HZ Date: Thu, 7 May 2015 22:28:20 -0700 Message-ID: <20150508052820.GC18159@dtor-ws> References: <1431049991-30129-1-git-send-email-marex@denx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-ie0-f169.google.com ([209.85.223.169]:36011 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbbEHF2Z (ORCPT ); Fri, 8 May 2015 01:28:25 -0400 Received: by iecnq11 with SMTP id nq11so56057394iec.3 for ; Thu, 07 May 2015 22:28:24 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Viresh Kumar Cc: Marek Vasut , "linux-input@vger.kernel.org" , Vipul Kumar Samar On Fri, May 08, 2015 at 07:45:48AM +0530, Viresh Kumar wrote: > On 8 May 2015 at 07:23, Marek Vasut wrote: > > 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 > > Cc: Vipul Kumar Samar > > Cc: Viresh Kumar > > Cc: Dmitry Torokhov > > --- > > drivers/input/touchscreen/stmpe-ts.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Viresh Kumar Applied both, thank you. -- Dmitry