Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp15175pxb; Tue, 2 Mar 2021 17:28:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7IKeHMYnRenRL+ZcAoKXJ2c0m1ZWoZWIwvjdO8Q4GekdaMZTaoj9wvgIgi8qxksWnk6IW X-Received: by 2002:a05:6402:149:: with SMTP id s9mr23407766edu.247.1614734921695; Tue, 02 Mar 2021 17:28:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614734921; cv=none; d=google.com; s=arc-20160816; b=msKdDuADCvaRvq3nmjS8bZEcYa7RVvYvhiUht9zQjhasSvhpxAuVAfpzbaq/Kcvguh T+Mt+tvo7nRxpMzIVZs7H3/F1iG9tWEL+4gYTYSuHWsq8XPyS750eEkr7U5/8qpPIGdf bU6ZanSXUjXU4YUKNj7tMNozH1f69ewRbMiHzb32gawaEQH9JrZG5lYeIRjsbFueYvYJ 7RrNg6ju/Rpw25tnJrPLJKARftORfxDk6pvouN7PNF8nH9KSdOAqNrtofJLVjw354FmG XL303JIYOf19fQ3PHu5DjgeVR5JJ9uLSA9Jpzm/5mR/3OBLLitLadxuuCsFGziE5wDDq PUGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J67311LSdF6jMCXHcRsS2/P8YZ9lxrbt1gE7LzkRMqA=; b=fO/9seui+Ec7qkfkwb6ZdcmCTsTyj0/XEoKUtb2d+4QpmliWtxt/dCyUP4jRip8yIN XOZMb/+XzOwQPROyJRhHiF4fYO2rNHnRGXGWOFVLbupVivZWiNRZ10CblfOBbuoo8era 0gCDKrluSAZDQ438z3R/G8Dpq+jvn5ZLvq2Tp2FGwl1//xw3tcaJJ5+HUcJqOMF3CDB6 xZSiqSwfGO32NoYyGn3NvCJdJvi9Ulimhf3XtYIKtrOHnmt0fiwCqkjfL7ruElUnnej2 nN/Xb3wUkXF2bcJOtQKTm1W/guMkeM/k/WfaIe/9KXFUTisFPeLzPmlTPAR1pzIWa8XG 3qwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SMs8rt66; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lc7si7134016ejb.426.2021.03.02.17.28.19; Tue, 02 Mar 2021 17:28:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SMs8rt66; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234051AbhCAJkV (ORCPT + 99 others); Mon, 1 Mar 2021 04:40:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234041AbhCAJjr (ORCPT ); Mon, 1 Mar 2021 04:39:47 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7E2AC06178A for ; Mon, 1 Mar 2021 01:39:06 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id n4so15372772wrx.1 for ; Mon, 01 Mar 2021 01:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=J67311LSdF6jMCXHcRsS2/P8YZ9lxrbt1gE7LzkRMqA=; b=SMs8rt66hMrlsINChSzuMepk42PUx9iaAaZVEOxSK5UptMf+PE3E8AgBZceDSHggYx QeZmp2FRQBjYAFj1sxNFwDfqGS9ubztYXljk92cv82I9ZwLgul4m/Grc3VYObKoiWoMO KMvTIZrsdbJnKJJFaJy4Sd71NCUFDdBRW1VdSacudcF9zSWSc6WN21IcVxWh3HKKhYYS Ls+ZZzj6fOJRag4C1A71591kdf5ekIvMr/VQrtU4lRhPVslxWWLzHKLXrglHsmS3Iohv mV4JCnu/viNvjvDFt+VmPy3x65XQOEM2kZC/NjNapIkCKbkxZVcSbw/zUAkSw+OFoqEo dz2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=J67311LSdF6jMCXHcRsS2/P8YZ9lxrbt1gE7LzkRMqA=; b=Bxf8r5qIT5f7KJ5mx0lMEFWF5RII2YHv67j52T0SdW/1h2QKJvRXgYpsFMfIA8M23m Ylx7Pndwrra9L/ZJt3tR+jIRqTxHhVY269TAZxV2nze/A6LKT8dFny/8ytTsSBRYywHH h1yQQodXXorVUwA8gBq3RzwC5aWsaF2fgnmB/jWrAcNErc2OuzLKtngqszYxJn+wlMtn DRppsOgV8Q3Jy5sjr6uAPEcxDJiQYJsjUzuteSnn4zu+Vra9ARRBr+rJhICS1iDzD5MX wSDUeq8KRlgDu5n2YrW2owV/YPujOE90EHG3AhB2iECH+w3QTozocyajAjZ4AaNorMMK 7MmA== X-Gm-Message-State: AOAM530NJZ/4Ab9A0x4PSlVJXynZwajYJm+teZ2Pgm38CIdWIc5iuPXp c7cJ/uPI652nHLx5VeHfVcRjsQ== X-Received: by 2002:a5d:6b89:: with SMTP id n9mr15695069wrx.74.1614591545301; Mon, 01 Mar 2021 01:39:05 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id p12sm20328888wmq.1.2021.03.01.01.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Mar 2021 01:39:04 -0800 (PST) Date: Mon, 1 Mar 2021 09:39:02 +0000 From: Daniel Thompson To: kgunda@codeaurora.org Cc: bjorn.andersson@linaro.org, jingoohan1@gmail.com, lee.jones@linaro.org, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.org, jacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, mark.rutland@arm.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross , linux-arm-msm@vger.kernel.org, linux-fbdev@vger.kernel.org, phone-devel@vger.kernel.org Subject: Re: [PATCH V2 2/2] backlight: qcom-wled: Correct the sync_toggle sequence Message-ID: <20210301093902.34mtfcouajc36y6t@maple.lan> References: <1614341544-5306-1-git-send-email-kgunda@codeaurora.org> <1614341544-5306-3-git-send-email-kgunda@codeaurora.org> <20210226172601.aknj2d4hghkkqjol@maple.lan> <0cca377c2a7648c5f1606e38ba1b7d4d@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0cca377c2a7648c5f1606e38ba1b7d4d@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 01, 2021 at 02:15:12PM +0530, kgunda@codeaurora.org wrote: > On 2021-02-26 22:56, Daniel Thompson wrote: > > On Fri, Feb 26, 2021 at 05:42:24PM +0530, Kiran Gunda wrote: > > > As per the current implementation, after FSC (Full Scale Current) > > > and brightness update the sync bits are transitioned from 1 to 0. > > > > This still seems to incorrectly describe the current behaviour. > > > > Surely in most cases (i.e. every time except the first) the value of the > > sync bit is 0 when the function is called and we get both a 0 to 1 > > and then a 1 to 0 transition. > > > > That is why I recommended set-then-clear terminology to describe the > > current behaviour. It is concise and correct. > > Okay. Actually I have mentioned the "clear-and-set" in explaining the fix. > Let me modify the same terminology in explaining the problem case also. Yes please. In my original review I took time to explain why patch descriptions require care and attention and, also, why expressing the original behaviour as 1 to 0 was inadequate. Based on the previous feedback (and reply) I was rather surprised that the problem was only half corrected in the next revision. Daniel.