Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1069645ybl; Wed, 14 Aug 2019 10:12:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2A97JF2THAEGeUMoewN5aHXFlGC/y2Y7Je2G0oWuXHD1FGeku339XKvHKEbjQUNEr9PDb X-Received: by 2002:a63:181:: with SMTP id 123mr198463pgb.63.1565802746787; Wed, 14 Aug 2019 10:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565802746; cv=none; d=google.com; s=arc-20160816; b=wLEUx3HivbLdnwQFgEqYOgeG3yNudH1lttEORh+kJZwWsKXDyeaQ/hAV4ltrUpn6Yu 3cAQUfYnG6OrJRlpKfqJ4eqa79B/3PPHQ3sHU6F0JM3biw792Qy9HI90NEsNiKQa3FJG UyTQMLQwi8EaKLiuhs5nOBCTevAtsmNP6H0/7882DAsQdR9sKMF6Dw4nsiIAXDh9+1C5 l7u/JArdjMNPqdLRgrY7GmOFq/lnOHv4c075uFCpkl1x2jzfHdHyparNSy5xOLYTgQ0N L/sk9SRnS/LG5lNzn7BXFx7CutkdV4g2K0DdMNp29/lae5dVs3XU/h6cc/gGJ5VAmYWX WIwg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rsvL1w0cYT8TavIPbev8QoCTRX5Z1WPRNhoz5CBceBw=; b=Z9ivHIS6904B1biMZn5x51+0Hu9WTIo5iYzDUu/XdNCRoq3Pf3mETxbOleIu3vvLs/ QVcpfhBLx9AncdLTu2VmoblyRgWZl8QMBkwAVtgYTxtIG8e2vezsIVji0kLn6wvnS0LD HserSjX8EZS79xD67PST1OahDFPJ8AiIxg9qj+xT4Gg8r4wlIQuulNGx8wp8N9BxYAm/ kYgREGL+vRtpw89GHtfU1Sg775o1tpAEoIw3F22PBwtlA+uOXczPfXx5U9UAD5WQDyYE mV749aE8auRUtbBRRozr1gFojm9ClQVGpMxj7UxmyNMArz17ej4pRg2f5X+8vMTcw+Cb 8Z4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uebZFrPj; 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 cf17si260188plb.48.2019.08.14.10.12.09; Wed, 14 Aug 2019 10:12:26 -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=@kernel.org header.s=default header.b=uebZFrPj; 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 S1728451AbfHNRKS (ORCPT + 99 others); Wed, 14 Aug 2019 13:10:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:60906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730412AbfHNRKJ (ORCPT ); Wed, 14 Aug 2019 13:10:09 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C36F02084D; Wed, 14 Aug 2019 17:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802608; bh=YTT9ir1z4aRqxuZTg3VF2ZnFXYtMqZeM7zj+UdEUnPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uebZFrPjWlLvSnYObaXM+wE0EF4WYnBZHjJJG6uxWHkLoKs1jMq2NUxSOB/PRy6Bl vaoQn/cGKCs0LXYNNSctnpIdfpiljzGVkkqXZJpkFWFzqJg88c4iOqRy2J8YJGoVAW +dl+vcPp5FjW2RASGKc8BtnaKLc/xJDqThcVtkPc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bjoern Gerhart , Guenter Roeck , Sasha Levin Subject: [PATCH 4.19 48/91] hwmon: (nct6775) Fix register address and added missed tolerance for nct6106 Date: Wed, 14 Aug 2019 19:01:11 +0200 Message-Id: <20190814165751.615902169@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165748.991235624@linuxfoundation.org> References: <20190814165748.991235624@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit f3d43e2e45fd9d44ba52d20debd12cd4ee9c89bf ] Fixed address of third NCT6106_REG_WEIGHT_DUTY_STEP, and added missed NCT6106_REG_TOLERANCE_H. Fixes: 6c009501ff200 ("hwmon: (nct6775) Add support for NCT6102D/6106D") Signed-off-by: Bjoern Gerhart Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/nct6775.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c index 78603b78cf410..eba692cddbdee 100644 --- a/drivers/hwmon/nct6775.c +++ b/drivers/hwmon/nct6775.c @@ -818,7 +818,7 @@ static const u16 NCT6106_REG_TARGET[] = { 0x111, 0x121, 0x131 }; static const u16 NCT6106_REG_WEIGHT_TEMP_SEL[] = { 0x168, 0x178, 0x188 }; static const u16 NCT6106_REG_WEIGHT_TEMP_STEP[] = { 0x169, 0x179, 0x189 }; static const u16 NCT6106_REG_WEIGHT_TEMP_STEP_TOL[] = { 0x16a, 0x17a, 0x18a }; -static const u16 NCT6106_REG_WEIGHT_DUTY_STEP[] = { 0x16b, 0x17b, 0x17c }; +static const u16 NCT6106_REG_WEIGHT_DUTY_STEP[] = { 0x16b, 0x17b, 0x18b }; static const u16 NCT6106_REG_WEIGHT_TEMP_BASE[] = { 0x16c, 0x17c, 0x18c }; static const u16 NCT6106_REG_WEIGHT_DUTY_BASE[] = { 0x16d, 0x17d, 0x18d }; @@ -3673,6 +3673,7 @@ static int nct6775_probe(struct platform_device *pdev) data->REG_FAN_TIME[0] = NCT6106_REG_FAN_STOP_TIME; data->REG_FAN_TIME[1] = NCT6106_REG_FAN_STEP_UP_TIME; data->REG_FAN_TIME[2] = NCT6106_REG_FAN_STEP_DOWN_TIME; + data->REG_TOLERANCE_H = NCT6106_REG_TOLERANCE_H; data->REG_PWM[0] = NCT6106_REG_PWM; data->REG_PWM[1] = NCT6106_REG_FAN_START_OUTPUT; data->REG_PWM[2] = NCT6106_REG_FAN_STOP_OUTPUT; -- 2.20.1