[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130816134125.c1afc15faee7ee277ff8eeb7@gmail.com>
Date: Fri, 16 Aug 2013 13:41:25 +0200
From: Iker Pedrosa <ikerpedrosam@...il.com>
To: Pavel Machek <pavel@....cz>
Cc: gregkh@...uxfoundation.org, justinmattock@...il.com,
mujeeb.adil@...il.com, harsh1kumar@...il.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/6] Staging: winbond: wb35reg: changed sleep function
from msleep to usleep
According to Documentation/timers/timers-howto.txt it is not recommended to use msleep for 1ms - 20ms because it may sleep longer than 20ms. So, it is recommended to use usleep instead.
On Mon, 12 Aug 2013 12:05:10 +0200
Pavel Machek <pavel@....cz> wrote:
> On Mon 2013-08-05 11:58:27, Iker Pedrosa wrote:
> > Changed sleep function from msleep to usleep according to the documentation.
> >
> > Signed-off-by: Iker Pedrosa <ikerpedrosam@...il.com>
>
> Can you explain why this is good idea?
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
Regards,
Iker Pedrosa <ikerpedrosam@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists