Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965094AbbLHOeQ (ORCPT ); Tue, 8 Dec 2015 09:34:16 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:33739 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965012AbbLHOdv (ORCPT ); Tue, 8 Dec 2015 09:33:51 -0500 Date: Tue, 8 Dec 2015 14:33:00 +0000 From: Charles Keepax To: Lee Jones CC: , Subject: Re: [PATCH 09/19] mfd: arizona-core: msleep() is unreliable for anything <20ms use usleep_range() instead Message-ID: <20151208143300.GD6058@localhost.localdomain> References: <1449489032-14374-1-git-send-email-lee.jones@linaro.org> <1449489032-14374-10-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1449489032-14374-10-git-send-email-lee.jones@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310000 definitions=main-1512080252 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1109 Lines: 30 On Mon, Dec 07, 2015 at 11:50:22AM +0000, Lee Jones wrote: > WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt > + msleep(1); > > WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt > + msleep(5); > > WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt > + msleep(1); > > WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt > + msleep(1); > > total: 0 errors, 4 warnings, 1407 lines checked > > Cc: patches@opensource.wolfsonmicro.com > Signed-off-by: Lee Jones > --- This doesn't actually appear to cc patches. But all looks good: Acked-by: Charles Keepax Thanks, Charles -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/