Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1224467pxx; Tue, 27 Oct 2020 11:08:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzP2JhqN+kjRsKbKD81dv9OvwzfhafViOGT8zUkhM/yRPFzKTWfe9ndS6HRrfhlY3Fi+3vj X-Received: by 2002:a50:8acf:: with SMTP id k15mr3542586edk.351.1603822132277; Tue, 27 Oct 2020 11:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603822132; cv=none; d=google.com; s=arc-20160816; b=f5htdiqoyvIzc5YwEmXCyyyqfoRZJI5Lc4LwPEnDVtxqxZ7XpGvzkymf3k98d8VjaS Z6XNfrjymKxGjSZ29NtgpeMtHQErtPhy3K7RMZ+BQd3lq3HtRREQWuOywgt/+0J3Z7US vn4kj0k/Qha1kj/8DghukVsiiPQ3Ulkgx8feM3KvsrwEIWJ+tFZTse1NUTyAZ5yyqqOb AsvOxms1KepdDNbBHFpMpo5xc+pIzdYLkbkpkfD8bGGnpxN4XkNdLyg5GOg/Xy8oEo/m 8tlTcUaniSKRYyXXyd8/EQGxSVxfn9vqGr1uopP1G6yS23r9OJXYNvJaH1bgujsA9cdi Ry1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=89kgHU4JRe29QbWtpfL0O2FXBQcj3AHtRu67ni3hKe8=; b=R0YLLzOXVKtkHh7EZMvgLi47xfcjJjf7XKDUeKvN4mNsE7ibFKC/WGUFVVAQiMulo5 YvJ7TIifbj4O6n5RQmD+VPsS6hKzGeR4nJeZNz5Xp+kDeNvQbGHzyOcentOOS5qjHcEn 1cdOzII5oP0yIsw7sz44RGXsX7NVqFtAnUQ+kbyKNlyHhujH8s+E2kSPHMB+wNzWeXwq ccPTE0ASo8XCbnE2J0cyCtXLzfSByHcTfLn/TifVbBzjrX+Nivm8rLjBPNO/pVL8BABz fELt/bz1Dbo+aGsxFntLT/fcme+rRYbTBtMuIaVJDxjLB+cCDYTT1bxWTUu4SrlTU2DG z15g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZFOsGQRI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si1573920edm.314.2020.10.27.11.08.30; Tue, 27 Oct 2020 11:08:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZFOsGQRI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1821261AbgJ0Rlk (ORCPT + 99 others); Tue, 27 Oct 2020 13:41:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:60484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760136AbgJ0Ode (ORCPT ); Tue, 27 Oct 2020 10:33:34 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 7089A20709; Tue, 27 Oct 2020 14:33:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809214; bh=nEy3KQc75AODhb3w+D7cEiRV0ucGu6iMc/bQjzlVVto=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZFOsGQRIx1fJIW4nLWNTmbif1JzCf24VLN76wB9lA9gPHhwnTPUvGfD/wzrx69VsC WJQAOVmZ7bVUFSaRNyf8UlrinKzGUWtdWoDfD1asacQzmV0PglbQ5HDv81p6Apr3S9 N60lYsU+YkBScHHyoVuZMi7VR4BaJZolHPfZ1Hqg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Steve Foreman , Guenter Roeck , Sasha Levin Subject: [PATCH 5.4 086/408] hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61} Date: Tue, 27 Oct 2020 14:50:24 +0100 Message-Id: <20201027135459.061686852@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guenter Roeck [ Upstream commit 6c094b31ea2ad773824362ba0fccb88d36f8d32d ] Starting with MAX34451, the chips of this series support STATUS_IOUT and STATUS_TEMPERATURE commands, and no longer report over-current and over-temperature status with STATUS_MFR_SPECIFIC. Fixes: 7a001dbab4ade ("hwmon: (pmbus/max34440) Add support for MAX34451.") Fixes: 50115ac9b6f35 ("hwmon: (pmbus/max34440) Add support for MAX34460 and MAX34461") Reported-by: Steve Foreman Cc: Steve Foreman Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/pmbus/max34440.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/hwmon/pmbus/max34440.c b/drivers/hwmon/pmbus/max34440.c index 5c63a66007293..e22617def70bf 100644 --- a/drivers/hwmon/pmbus/max34440.c +++ b/drivers/hwmon/pmbus/max34440.c @@ -387,7 +387,6 @@ static struct pmbus_driver_info max34440_info[] = { .func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, - .read_byte_data = max34440_read_byte_data, .read_word_data = max34440_read_word_data, .write_word_data = max34440_write_word_data, }, @@ -418,7 +417,6 @@ static struct pmbus_driver_info max34440_info[] = { .func[15] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[16] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, - .read_byte_data = max34440_read_byte_data, .read_word_data = max34440_read_word_data, .write_word_data = max34440_write_word_data, }, @@ -454,7 +452,6 @@ static struct pmbus_driver_info max34440_info[] = { .func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[21] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, - .read_byte_data = max34440_read_byte_data, .read_word_data = max34440_read_word_data, .write_word_data = max34440_write_word_data, }, -- 2.25.1