Received: by 10.223.185.116 with SMTP id b49csp58075wrg; Thu, 8 Mar 2018 12:50:52 -0800 (PST) X-Google-Smtp-Source: AG47ELuqJ8/0qnYZxG6EVLxsFbA8j3XEo7JfSV8AaQNDDVeUqrIU8Dpygl02DBFNrso0nZr9zUTe X-Received: by 2002:a17:902:600e:: with SMTP id r14-v6mr25561607plj.200.1520542252695; Thu, 08 Mar 2018 12:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520542252; cv=none; d=google.com; s=arc-20160816; b=FIAUagEHtNkS0mXaovSlOTJ8jmzY+ag04CDFmoviZG9lol9m2Jbhl5h2T9uiWGPHbu PlFlFUjgJym6lH9xCazOzIblGI5Cafgaje/pKtdhvUV3sgZUmezAWxVV7+qJ9JAnt1r6 MX7mApjSX6DtjSTu+CxM+1Ifj6L/QxRkbd4Tn0xRDODW670v9ujZja2XNDaCQf8047JL 8OSKt0oW+2z3qIE/rh0Q6nGmnaDZkgUxW9b3IsGLkoVbjxHAR1oSXA3s86PWMrOxXM8/ YoG5cDpEDoq3Cdj6ApuMsWwmYGW1ShcMYP5RC1u9iMablqICszAjLVRRunb+Itdmgj80 bEuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=qVjmKgqIRw9mSdT8d1XYM28IrXYSHpd3hkvxMV4Udh4=; b=RnqGqtrRFJIJMeOp3iSWCjRcfe0WGfMWQvh2/JBKycbz7pYfcwNkIFpHoPPcD2UfEP ScvjyJ3nXTQKW43tsllbafeNmVgG/KmS212Td0epSFeefD9Mgro0h4++om8dUCDnc0tQ /w2Tdgb2oJd8mI3GupZmACqhzksXJa4Kht36qMx4Smov2OOZz6cvfEf5LQinyXkWU+t4 Tvglt9teKzhBNV6dJrSlz6KTY1V8qf+hrpk444/grKlFywZYdl/qODiOKiU1ZcTa83wG QQ0m2SQsp9LXWsFB8crRY792DR4xxgaDh1ra0SfMnCljShvbc068lXevd7SkPrsu4D7R VC1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FM8lurL4; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11-v6si9517486plp.363.2018.03.08.12.50.38; Thu, 08 Mar 2018 12:50:52 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FM8lurL4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751321AbeCHUtb (ORCPT + 99 others); Thu, 8 Mar 2018 15:49:31 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:46670 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194AbeCHUt1 (ORCPT ); Thu, 8 Mar 2018 15:49:27 -0500 Received: by mail-wr0-f193.google.com with SMTP id m12so6998934wrm.13; Thu, 08 Mar 2018 12:49:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=qVjmKgqIRw9mSdT8d1XYM28IrXYSHpd3hkvxMV4Udh4=; b=FM8lurL4MO0Mz7aKyH/oP7iN6uEBs+OdGjTnBNUQhtWlLP9aJ/p2khp/GKqRmdWWFU jZM3YGk1o/7pPciIAudioyw4P9vfaBGrWXpwVktAsFIp5fG5W5mvF3rgonLVlUDYNokF 70f3TtN74JgNNZc1MQZ8F0XMxqJSXlxayY1nq1PBwotluXutd/AV88MXF2kApIjfoeuG X5GbZXaKX7JWZQu1iPNIsPGFvNrrUS89ZyoFx6MojNhONEPoJyfDph0hEaPaSWTRN8VR GqaRdz8qyY1FMUL24ZBZyi8TOtbvM3JqEn/MIMVS9jY+OO52Cc065TZdROq5R0vcLsNi zxPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qVjmKgqIRw9mSdT8d1XYM28IrXYSHpd3hkvxMV4Udh4=; b=BfHN6/9022nucGiFc+76EkaTt+W1DCLeVHyPonnSzdDZzJL1j7+/RTKHOA2jfVexmB sBciEdk+7Mcg7wFrDpYh8i4mATjSW3oBN3RgFo9uqeXvi0Ryl/0CJBmNvz9JWqz66N8z TBjhuSfq8URroJNmBUpNV/VdE5RVzUljV/MqAsYj5N/gTn5FB6pZHdZ72YtOZcKbbpsw lBntEhnnO4JY8msAcmh+xW3JtDqn0wKavSbD9Ik/4xYkycAAGSNZSbTKRbfS8N/c8HUg 1e44ZBk736Xs+vTRl1WBlulRVeSsg9KU2qDEgDg2d1LHkx+YYoQOV3IhYLPEwV28M2w4 mzGg== X-Gm-Message-State: APf1xPDYftci0mnwtoG5QqEJqjTTWGj9ntEV4fodgSUyB6PaC7LgPwGo YK11Pl8+9jYdodgVWeyQxosjc+6e X-Received: by 10.223.129.203 with SMTP id 69mr25447641wra.45.1520542166071; Thu, 08 Mar 2018 12:49:26 -0800 (PST) Received: from [192.168.1.18] (bko201.neoplus.adsl.tpnet.pl. [83.28.182.201]) by smtp.gmail.com with ESMTPSA id 142sm17794746wmq.47.2018.03.08.12.49.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 12:49:25 -0800 (PST) Subject: Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0 To: Greg Kroah-Hartman References: <20180302084435.842679610@linuxfoundation.org> <20180302084437.007951262@linuxfoundation.org> <1520436743.23626.33.camel@codethink.co.uk> <86d4536e-11d5-40c4-4186-21955f809005@gmail.com> <20180308172401.GB22224@kroah.com> Cc: Ben Hutchings , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Matthieu CASTET , stable@vger.kernel.org From: Jacek Anaszewski X-Enigmail-Draft-Status: N1110 Message-ID: <57e2a60a-34c6-cd8d-adaa-dedcd8e5257c@gmail.com> Date: Thu, 8 Mar 2018 21:48:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180308172401.GB22224@kroah.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/08/2018 06:24 PM, Greg Kroah-Hartman wrote: > On Wed, Mar 07, 2018 at 09:39:08PM +0100, Jacek Anaszewski wrote: >> Hi Ben, >> >> On 03/07/2018 04:32 PM, Ben Hutchings wrote: >>> On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote: >>>> 4.4-stable review patch. If anyone has any objections, please let me >>>> know. >>>> >>>> ------------------ >>>> >>>> From: Matthieu CASTET >>>> >>>> >>>> [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ] >>>> >>>> With the current code, the following sequence won't work : >>>> echo timer > trigger >>>> >>>> echo 0 > delay_off >>>> * at this point we call >>>> ** led_delay_off_store >>>> ** led_blink_set >>> [...] >>> >>> The commit message got cut truncated here, which resulted in addresses >>> being omitted when it was sent out for review. The upstream commit >>> message refers to a LED_BLINK_SW flag which is not used in 4.4. So >>> this fix probably isn't needed, though I can't tell whether it does any >>> harm. >> >> We discussed it in [0]. This patch is not needed for 4.4 and what's >> more more it is harmful. It introduces a bug, fixed in [1]. >> >> [0] https://lkml.org/lkml/2018/2/6/726 >> [1[ https://patchwork.kernel.org/patch/10253933/ > > So, did I mess something up here? Am I missing some patch that I need > to apply, or do I need to revert something? > > confused, It needs to be reverted in 4.4-stable, and Ben's patch [0] does what's needed. [0] https://www.spinics.net/lists/stable/msg223656.html -- Best regards, Jacek Anaszewski