From patchwork Wed Dec 26 15:39:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 10743199 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6964E13BF for ; Wed, 26 Dec 2018 15:39:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE4BF28591 for ; Wed, 26 Dec 2018 15:39:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBAF92863B; Wed, 26 Dec 2018 15:39:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F3BF28591 for ; Wed, 26 Dec 2018 15:39:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727029AbeLZPjO (ORCPT ); Wed, 26 Dec 2018 10:39:14 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:45957 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727027AbeLZPjO (ORCPT ); Wed, 26 Dec 2018 10:39:14 -0500 Received: by mail-pg1-f194.google.com with SMTP id y4so7678579pgc.12 for ; Wed, 26 Dec 2018 07:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=YQc+dPf/pXb47QaDFzvp0py6PrptCah2aqAXWEWEAIE=; b=Z9bycZREmUtKqP9rv1I94hhgTCIQ0COqIqBvQny2/wCNENSXx5dBeSemITxV6iuqmv E129ZUtE7dREtjy4ktHX4ypiiinr0oZgQY3ID7heCAp+YmpMG6UnrFVUNMOFjO2IQQLU D8VSYtMNBwdcSZ5CrcZDFCn5SBFZt3dqQCIHnZba7aDmBq9iNCfgzwDqZVEKJRS8fWQo xzxLCFuLDSXC+nanpEjXj20muSPnz/DZUjdiJNg20sRD9AWnoSWvuziuHUu9iqRt2lXf ZRpfhtiGTIyzH5Cp2JfIKas/hyh94lgAZj4fyUiyxSDaYm34yNNkae8ajxiZBQEhLWP2 tf6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=YQc+dPf/pXb47QaDFzvp0py6PrptCah2aqAXWEWEAIE=; b=YP/uYpFsnYUpppGGUzxNgtVHN/TxJf3xVtfb/szn6BRtVJegcusbtVfEMKxbxNr77O Ys49ddE6NMKF9/U+umBo7Mw6V3b2KqvcySR9HG8TkQ2oRc3d3l9IgtWYbDk5VsC08vUM L0VbKRyTlE4lVzVS497GGF0iZ5FGpHpQ2fykAObThRFtYEyUn69KwYRXLGKtSQCRbr4l 4Hg1Ne9LwJ/nfUdxsnUtga01HIbRSKz165xUBAwW0FZin8jlhl9ONptOasV2I9+jhqNM 6ixpVa/j8ALCVjpJNg8xFOWhujhAaaknZ3FNHwv9TAxKdvAaxSmPn7g8WyTPQOwQRSql dMCg== X-Gm-Message-State: AJcUukc4ifhgX0lxo6oxXx59O4KX8KMQXenBjyvHusAK136riJGiNsmH 1chclhUmWIjhF56NMFg38IWjRkta X-Google-Smtp-Source: ALg8bN5cZ5X3OH8K3idpeoKUNLk8ln6R3EP5uTCN5DhrTxtpxu8Z42MOqNh6c3OhUxlq1RAtmOfu1w== X-Received: by 2002:a63:82c6:: with SMTP id w189mr19549871pgd.344.1545838753470; Wed, 26 Dec 2018 07:39:13 -0800 (PST) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id i72sm51803480pfe.181.2018.12.26.07.39.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 07:39:12 -0800 (PST) From: Guenter Roeck To: Hardware Monitoring Cc: Jean Delvare , Guenter Roeck , Michael Cook Subject: [PATCH] hwmon: (nct6775) Fix chip ID for NCT6798D Date: Wed, 26 Dec 2018 07:39:10 -0800 Message-Id: <1545838750-20373-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The chip ID is 0xd42[8-f], not 0xd45[8-f]. Fixes: 0599682b826f ("hwmon: (nct6775) Add support for NCT6798D") Reported-by: Michael Cook Cc: Michael Cook Signed-off-by: Guenter Roeck --- drivers/hwmon/nct6775.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c index c3040079b1cb..8f91e366866f 100644 --- a/drivers/hwmon/nct6775.c +++ b/drivers/hwmon/nct6775.c @@ -44,8 +44,8 @@ * nct6796d 14 7 7 2+6 0xd420 0xc1 0x5ca3 * nct6797d 14 7 7 2+6 0xd450 0xc1 0x5ca3 * (0xd451) - * nct6798d 14 7 7 2+6 0xd458 0xc1 0x5ca3 - * (0xd459) + * nct6798d 14 7 7 2+6 0xd428 0xc1 0x5ca3 + * (0xd429) * * #temp lists the number of monitored temperature sources (first value) plus * the number of directly connectable temperature sensors (second value). @@ -138,7 +138,7 @@ MODULE_PARM_DESC(fan_debounce, "Enable debouncing for fan RPM signal"); #define SIO_NCT6795_ID 0xd350 #define SIO_NCT6796_ID 0xd420 #define SIO_NCT6797_ID 0xd450 -#define SIO_NCT6798_ID 0xd458 +#define SIO_NCT6798_ID 0xd428 #define SIO_ID_MASK 0xFFF8 enum pwm_enable { off, manual, thermal_cruise, speed_cruise, sf3, sf4 };