Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4198058ybp; Mon, 14 Oct 2019 00:28:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkItQZPmRDfsaHuGW4d+X1E79foKfCOVM8e0m4LMI/nSewDNJbOQE6IMffqBGmO6fjmxeE X-Received: by 2002:a05:6402:1687:: with SMTP id a7mr26776852edv.222.1571038095951; Mon, 14 Oct 2019 00:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571038095; cv=none; d=google.com; s=arc-20160816; b=NyP4MeN0kvlrIHMn5i576ipaEbIAfjuiV+l+3ibM0BQeTxIKNCpx0OlCX7bPM1nN3F WZ40sw/zn34DTaD2culS69EPNT66MOK5QSbAAsm1hz9DeHIBewNvFOtDqrUvqRe5s/Mq 0ARiCWU3kkqZeVEHmHVvbh34kQ7rKX82JFA73GCshqds9SHK+a9TLAlllkDaCcmsLksv sp0UxrP4gNuBXogOAfSfzzk4OrLyt2wJlw3/wmRKkQFhyWJ4NIs6asYKgB80cjx6fbIH Xd2/qttiqY2PjrbtDL7nBCx7vPurbMO9ZrJzmsajcWJrFEbWZpjjDB0tBi9W892MO+8O pipA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=U6/vqqI+KFne/Y1dUe/Jfr2lNHLnywOUOorz0nDROSE=; b=FUd5E+/EhmhYUCELPnkixCCCAzvVzTTmWqI/G2ZxjoDadE7+fpTqNcjcO+ulsQaCOj vYNsKy/PIO0Pbf3Qprhk6a5vThbPfC4bQry0vY9aN0k+SE7TuLHRs12Lc36LOUiCEGju ymiBVXpqfuk3gOBSWd76GeUgJ77AZTqwktSRnFG/lZ1mu9rxB8rQWu0o/+3L6zMgGDEQ PXpCY2Dyvrbu4v9bg4YPWx+1UQe2Rv8fwx+9Wepg5I/TeqThVHKAoa8chKTv/GV9jT5x /YiXjm5BcroC20W1Ehj8hd4uOfYlPC1mBFAVAFnnI2AMbrPA4FuRivzT2nLU5OyegRdo VtzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xfMY0SiR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id j38si12288697ede.374.2019.10.14.00.27.52; Mon, 14 Oct 2019 00:28:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xfMY0SiR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1730415AbfJNH1O (ORCPT + 99 others); Mon, 14 Oct 2019 03:27:14 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44971 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730143AbfJNH1O (ORCPT ); Mon, 14 Oct 2019 03:27:14 -0400 Received: by mail-wr1-f66.google.com with SMTP id z9so18343061wrl.11 for ; Mon, 14 Oct 2019 00:27:12 -0700 (PDT) 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:content-transfer-encoding:in-reply-to :user-agent; bh=U6/vqqI+KFne/Y1dUe/Jfr2lNHLnywOUOorz0nDROSE=; b=xfMY0SiR5P3VvexTUHqw+8OwvkSFp1LclUgomGX8ksXD9q+KX3colpmtmOQTdGsSr1 mLiKIi4t6EbNMkHrkaw6c9HN0uFFJPrEveqy1XNvtv8xxA4a3rmzkcgsc9ArmbsDqi+q BVBGVv4Bz102IqKVDtJRIvf445rKWFHWpSvGTw590ibcF0ATNRW1OqFNBbueDBB0fKNW WmL9j6X+gmvrsvEh5CzILouSfDc8LlVezqWssmsW32To36UlqbkrTmMdHv3oamJyMUnp VJl9ivKm4uvwcw4URs8Tp0jzVZbp8nDo6aTXnyBSyPiY3pl1viQ5mYhAzoaBsKx6fifV 6peg== 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:content-transfer-encoding :in-reply-to:user-agent; bh=U6/vqqI+KFne/Y1dUe/Jfr2lNHLnywOUOorz0nDROSE=; b=R9MDhJ2QBEZ9FUMmB2f5xBvziuNIq1tKLup2c2eVDpDLi+CutTfzKLSjyTogbYuTDg PpXfxpKKWI6YuIzr/JI3yTcB2pwffhGIoEHdZiPstRcCutJLrwP80/p+AaaqID8VRnWI f5eTo37vspfstBiNQI44w/sMzlHfv5bWk1mfrJSz7JUwtayQJtbWaRiyvXdVroAcO3gO Y6KZc899Z61IBJNsPLNA6EU6dRK3oWEPDqIhn8E6pHhTSbr6fNfhhazkEQpeJbr40lh0 hHBFhijP51bgB3L2BKCA9elvvtd044hZbuM4Jz5ab/s9mb4gNE1gqhEyofcVqaJFngU3 YJ8w== X-Gm-Message-State: APjAAAU1aMjrMQKWNAjnw2A35u25JX8MNGyybIYOqduWCQnLfM0rC6lb 4EpErwNWoaIhJggz0BHz68/2sg== X-Received: by 2002:adf:82ab:: with SMTP id 40mr23551615wrc.251.1571038032239; Mon, 14 Oct 2019 00:27:12 -0700 (PDT) Received: from dell ([2.27.167.11]) by smtp.gmail.com with ESMTPSA id x2sm21172669wrn.81.2019.10.14.00.27.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Oct 2019 00:27:11 -0700 (PDT) Date: Mon, 14 Oct 2019 08:27:10 +0100 From: Lee Jones To: Rasmus Villemoes Cc: Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , linux-pwm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] backlight: pwm_bl: fix cie1913 comments and constant Message-ID: <20191014072710.GE4545@dell> References: <20191008120327.24208-1-linux@rasmusvillemoes.dk> <20191008120327.24208-2-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191008120327.24208-2-linux@rasmusvillemoes.dk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 08 Oct 2019, Rasmus Villemoes wrote: > The "break-even" point for the two formulas is L==8, which is also > what the code actually implements. [Incidentally, at that point one > has Y=0.008856, not 0.08856]. > > Moreover, all the sources I can find say the linear factor is 903.3 > rather than 902.3, which makes sense since then the formulas agree at > L==8, both yielding the 0.008856 figure to four significant digits. > > Reviewed-by: Daniel Thompson > Signed-off-by: Rasmus Villemoes > --- > drivers/video/backlight/pwm_bl.c | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog