Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3047404imm; Sun, 17 Jun 2018 09:52:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJeiw8buWnpCQlZC2Tsl2jag/LeTaJe0Edfdvae6229N4ViBa1Tb34b4MYtLdd7x9SX3LHC X-Received: by 2002:a62:e816:: with SMTP id c22-v6mr10181800pfi.124.1529254333591; Sun, 17 Jun 2018 09:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529254333; cv=none; d=google.com; s=arc-20160816; b=IFSevYTFGKJXUMNzrq7abcHGuF+x2pl2JHaRgauv/C3i46PdrPGvdnBlyxQAlZW0i1 lq7zvO+vH+Fc0Nfq/YlSfeVBGPou6raMS/hNUQ6/LCZRR6JpZiF+vrquqxeZZu5q776s D5b3ZrzTqBhlIdxD1WHx7ufCFs6XhWHjhbzN77HCBtoB47cWmMb1PZ8J0vTpw7lhBrHl uGZw0wNi0tpaJ2IjE0snkJleoEvv3mlhfok4G+18jwyHw7RTyy0QUdgMWGA0UBlXjx9h 7WUwZ2x75MmwR+b+sT2fPzTpuONS2j0NzvMlDSuK/MPQE39r/TcraReoS2HsAfxgtAIs f3EA== 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:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=KzONj++1XK8q+HhRNi9o0/F9fJEyiQEDrQbABNs1ZHk=; b=PU90F2uPPj2e+HgFkaji4KdReSsglfd4PxHsgiKIe1rHkd2kMtghHtbtCQfs0HAQVu hGvugGQKJNuP1KMJneVIV50Acc0sL9hQUpy/xEx+k/SUDFtv7YdETW/VhdtCUDf5iQAK YkWNHHM/ADVhxSQE3avS1LlPQi37flkz2Y5UNr9LgQos38l3oOeQiBToKDk6S5NMnHRq RxLePrm00fQ1RsImBmfHvHdbcZXnggmrb5qtlfFsPizLDfK69ybI4YQ3KoqBeZk8ow7L Y8YRydI3o8AcC6QJuHERp2PtRTf4CP75f4mx4GwAXdqBptHVfgN2B9TQbybn8zoXNXcR PQ1Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4-v6si4307483plc.436.2018.06.17.09.51.59; Sun, 17 Jun 2018 09:52:13 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934366AbeFQQvP (ORCPT + 99 others); Sun, 17 Jun 2018 12:51:15 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:46709 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934130AbeFQQvM (ORCPT ); Sun, 17 Jun 2018 12:51:12 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126] helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1fUatS-0005AK-0X; Sun, 17 Jun 2018 17:51:10 +0100 Message-ID: <1529254269.2289.212.camel@codethink.co.uk> Subject: Re: [PATCH 4.4 188/268] hwmon: (nct6775) Fix writing pwmX_mode From: Ben Hutchings To: Guenter Roeck Cc: stable@vger.kernel.org, Sasha Levin , Greg Kroah-Hartman , LKML Date: Sun, 17 Jun 2018 17:51:09 +0100 In-Reply-To: <20180528100223.691255680@linuxfoundation.org> References: <20180528100202.045206534@linuxfoundation.org> <20180528100223.691255680@linuxfoundation.org> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-05-28 at 12:02 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > ------------------ > > From: Guenter Roeck > > [ Upstream commit 415eb2a1aaa4881cf85bd86c683356fdd8094a23 ] > > pwmX_mode is defined in the ABI as 0=DC mode, 1=pwm mode. The chip > register bit is set to 1 for DC mode. This got mixed up, and writing > 1 into pwmX_mode resulted in DC mode enabled. Fix it up by using > the ABI definition throughout the driver for consistency. > > Fixes: 77eb5b3703d99 ("hwmon: (nct6775) Add support for pwm, pwm_mode, ... ") > Signed-off-by: Guenter Roeck > Signed-off-by: Sasha Levin > Signed-off-by: Greg Kroah-Hartman [...] The code changes look fine but the comment on the declaration of nct6775_data::pwm_mode is now incorrect. Ben. -- Ben Hutchings, Software Developer   Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom