Re: [PATCH v2 08/24] Staging: winbond: reg: changed sleep function from msleep to usleep

2013-09-25 Thread Greg KH
On Mon, Sep 16, 2013 at 03:43:28PM +0200, Iker Pedrosa wrote: According to the documentation 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. In the first revision Greg KH pointed out that this change

[PATCH v2 08/24] Staging: winbond: reg: changed sleep function from msleep to usleep

2013-09-16 Thread Iker Pedrosa
According to the documentation 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. In the first revision Greg KH pointed out that this change broke the build. In my computer it builds properly so if someone has