Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp10935320ybl; Fri, 27 Dec 2019 04:57:16 -0800 (PST) X-Google-Smtp-Source: APXvYqxmDcku2yFm5CanCGb8PWM0XQA5SOtbKXGagtSCh76TO2bdVOZRFHT9MT+MMpBWmixSp4cS X-Received: by 2002:a9d:4b05:: with SMTP id q5mr42998640otf.174.1577451436308; Fri, 27 Dec 2019 04:57:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577451436; cv=none; d=google.com; s=arc-20160816; b=q2oqii6wAEYen3SUBzVh56xiRtvGCGStSAltj/MORmoH8srXdYwa3EwzIfEhelETol sgq0W92c7y5I4F0CTOMAUUDI31znXePcPwABzeKml45VTzp9m0r8lljau1iy+sdl9yID Ws7iKVAa9YlgIMK2LtfsFO8TZ0z7ejbg8CbVc4k2gon0yuBlNjmXtfgFlbwVfE7tyPth 3y6A2ctx6nnj9er2z/707mojhfjVyNuDUWeRcmzAPleimZSLYPL2MWTL8z6yX3RXFY3q sjMOQwesxQ3ytUNzkckSgTrC8AYn1NIAiKv9p06dz8XfCzL8yDcZ4/3gIhsFFIra3NKt pfGg== 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; bh=5K5S7QOtoHZUSUymro6UOXowjRgGbMg1x4OC8JKN+oc=; b=xQMs47aXeEuhVdReL3yJWvbL1LeHWACsv/SjxTd8iV9UdSXEUeqRmbvgM8ypF8slCU O5/JvzvZOx3oCYr/AH/GJCCWKZmL83e4hRqelSjrNxh+UiMQKFux5/sNMDmMBTEEevma 8mhhbLVMte1omKovua5G8GlBU/JVnLAvy9Kp5EZoTOdPTYFug95nfIpbnGbVIA2ZmSaD 2UbnusZiZpmF8T+yCnk/WAczC7pO04GpJBd3r0L8PbA8SkhftJZojaSlJKYjz+OO4Nkf iznJNdbTFQNs+0WIRRxYk8VVnt1GRAT+x71VlHrOpBeWkXIpq5dexS/mTbKVl++MwAlo vl5Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q126si16004522oia.8.2019.12.27.04.57.05; Fri, 27 Dec 2019 04:57:16 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726720AbfL0M4a (ORCPT + 99 others); Fri, 27 Dec 2019 07:56:30 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:33262 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbfL0M4a (ORCPT ); Fri, 27 Dec 2019 07:56:30 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 37C1CFB03; Fri, 27 Dec 2019 13:56:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWRGWaFKenMz; Fri, 27 Dec 2019 13:56:27 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id A042649799; Fri, 27 Dec 2019 13:56:26 +0100 (CET) Date: Fri, 27 Dec 2019 13:56:26 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Pavel Machek Cc: Jacek Anaszewski , Dan Murphy , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] leds: lm3692x: Disable chip on brightness 0 Message-ID: <20191227125626.GA26038@bogon.m.sigxcpu.org> References: <20191226102956.GH4033@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191226102956.GH4033@amd> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, On Thu, Dec 26, 2019 at 11:29:56AM +0100, Pavel Machek wrote: > On Wed 2019-12-25 12:16:39, Guido G?nther wrote: > > Otherwise there's a noticeable glow even with brightness 0. Also > > turning off the regulator can save additional power. > > Ok, this will make set brightness slower, but I guess it makes sense. > > Can you try to toggling brightness quickly from userspace, maybe even > from two threads, to ensure nothing really goes wrong there? I ran brightness setting in a tight loop from 0 to max from two threads 100 times without issues. > > Hmm. And if this is independend of the other series, tell me and I can > apply v2. There's minor merge conflict so to make sure this does not get dependent on the order i've folded this to the end of the "leds: lm3692x: Allow to set ovp and brigthness mode" series with your Acked-by's folded in. I'll wait a couple of days and then send out a v3. Cheers and thanks for having a look, -- Guido > > Best regards, > Pavel > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html