Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933433AbcLMOxz (ORCPT ); Tue, 13 Dec 2016 09:53:55 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:36500 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932319AbcLMOxx (ORCPT ); Tue, 13 Dec 2016 09:53:53 -0500 MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 X-AuditID: cbfee61a-f79916d0000062de-71-58500b7f2978 Subject: Re: [PATCH RFC] [media] s5k6aa: set usleep_range greater 0 To: Laurent Pinchart References: <1481594282-12801-1-git-send-email-hofrat@osadl.org> <5277658.1FioEDcST1@avalon> Cc: Nicholas Mc Guire , Mauro Carvalho Chehab , Sakari Ailus , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org From: Sylwester Nawrocki Message-id: Date: Tue, 13 Dec 2016 15:53:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 In-reply-to: <5277658.1FioEDcST1@avalon> Content-transfer-encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsVy+t9jAd167oAIg0ePBSyW/NzFZNHZ2cFq 0TlxCbvF5V1z2Cx6NmxltVi26Q+Txact35gc2D2m/N7I6jG7Yyarx6ZVnWwe804GerzoOczi 8XmTXABblJtNRmpiSmqRQmpecn5KZl66rVJoiJuuhZJCXmJuqq1ShK5vSJCSQlliTimQZ2SA BhycA9yDlfTtEtwybry5wliwhq2i4cgztgbGHtYuRk4OCQETid4DN5ggbDGJC/fWs3UxcnEI CSxllFjSegcswSsgKPFj8j2WLkYODmYBPYn7F7VAwkICDxklJjzPB7GFBZwlZq7ezgJiiwhY SPQums4IMec5o8SWM0vZQRxmgdeMEg8/L2EEqWITMJToPdrHCDKUV8BOYu1RNpAwi4CqxORZ n8HCogIREg2H00HCnAIaEiefXgW7mVlAXuLglecsExgFZiG5bhbCdbOQVC1gZF7FKJFakFxQ nJSea5iXWq5XnJhbXJqXrpecn7uJERxnz6R2MB7c5X6IUYCDUYmHV2CTX4QQa2JZcWXuIUYJ DmYlEd5CjoAIId6UxMqq1KL8+KLSnNTiQ4ymQOdOZJYSTc4HpoC8knhDE3MTc2MDC3NLSxMj JXHextnPwoUE0hNLUrNTUwtSi2D6mDg4pRoYbc7OW7878IaUCefHQPGvq0/Ou/DWTybddMbn N0fWdRYfdZGvk3K5cflAX6LDF3nGH7IfF7lpvlw8P8H9geav0+mGKZO/3NshqareuyHt4fQr d/scn8i3LPSSDpm5ZJXlHUGZXwFSntt2sEecmnOudHeJfXTuSa+sa1y79desyLw4xzpewP7Z ZyWW4oxEQy3mouJEAJl3cnHJAgAA X-MTR: 20000000000000000@CPGS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 791 Lines: 21 Hi Laurent, On 12/13/2016 03:10 PM, Laurent Pinchart wrote: > As pointed out by Ian Arkver, the datasheet states the delay should be >50?s. > Would it make sense to reduce the sleep duration to (3000, 4000) for instance > (or possibly even lower), instead of increasing it ? Theoretically it would make sense, I believe the delay call should really be part of the set_power callback. I think it is safe to decrease the delay value now, the boards using that driver have been dropped with commit commit ca9143501c30a2ce5886757961408488fac2bb4c ARM: EXYNOS: Remove unused board files As far as I am concerned you can do whatever you want with that delay call, remove it or decrease value, whatever helps to stop triggering warnings from the static analysis tools. -- Thanks, Sylwester