On Mon, Aug 26, 2013 at 05:10:07PM +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. > > Signed-off-by: Iker Pedrosa <ikerpedrosam@xxxxxxxxx> > --- > drivers/staging/winbond/reg.c | 52 +++++++++++++++++++++---------------------- > 1 file changed, 26 insertions(+), 26 deletions(-) > > diff --git a/drivers/staging/winbond/reg.c b/drivers/staging/winbond/reg.c > index 80b4b34..61916f5 100644 > --- a/drivers/staging/winbond/reg.c > +++ b/drivers/staging/winbond/reg.c > @@ -890,9 +890,9 @@ void Uxx_power_on_procedure(struct hw_data *pHwData) > else { > Wb35Reg_WriteSync(pHwData, 0x03f4, 0xFF5807FF); > Wb35Reg_WriteSync(pHwData, 0x03d4, 0x80); /* regulator on only */ > - msleep(10); > + usleep(10000); This breaks the build :( _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel