[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140530113418.GA9670@amd.pavel.ucw.cz>
Date: Fri, 30 May 2014 13:34:18 +0200
From: Pavel Machek <pavel@....cz>
To: Miguel Oliveira <cmroliv@...il.com>
Cc: gregkh@...uxfoundation.org, gulsah.1004@...il.com,
pali.rohar@...il.com, peter.p.waskiewicz.jr@...el.com,
kristina.martsenko@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: nokia_h4: nokia_core.c: use usleep_range()
instead of msleep()
On Fri 2014-05-30 11:27:13, Miguel Oliveira wrote:
> Creating this patch for the Eudyptula Challenge.
> Replaced msleep() for a delay < 20ms with a usleep_range() between 10000us and 15000us.
> Also inserted a blank line after adeclaration.
So you are changing timings without testing. Plus, burning CPU power
instead of sleeping.
Seems you'll need another patch for the challenge :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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