Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp859090pxb; Tue, 1 Feb 2022 11:55:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5/V285ZkUFsU2A0pmGsXG6cgjJRQDUwd7BRq8qsvA1M1r0n8bSr2sMIOEeNFNIetdg10l X-Received: by 2002:a17:90b:4d05:: with SMTP id mw5mr4185250pjb.34.1643745329026; Tue, 01 Feb 2022 11:55:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643745329; cv=none; d=google.com; s=arc-20160816; b=VDzvhED4TWWrzIZE60js0erXb9uCf57xyviX0KGEDe1l/lRsGl5hbCbzMiwJ54T57/ KnTDCobaohGtk36kvOXQYa/8L87QjzlzLZWpmyJ3WvXF4wHHUwzF9fcHgKszhteG9QUM fGKz8VmozCF7kWB6xyGVgQrkhuPZYEA1GlGX4sRYY/ZlmXC5RQgL4FNb1oDHDD57SFt6 ynWscd5QM8fZJpAbD9Lseuu18XpgTgyOfxuo3bz9hfMgeqfle9E1sYYFcgJGn9JmHTF6 DcUnt/gGaCjwr27E1pa/wQxWQbIWu3UBok7PkHUu3Ymx6Rwt4+PkT3FwlTw7DbRkcRf5 aPzw== 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=2EJg9IXu+bMOqptK3YPM5AFy1GsrZLcYNb9o4R5Uin4=; b=U54X7CzDqBx+fBZSN8phGQqIudUSL27I1pFrM0dyhClz7AOTHMm5llXbGpD08PG9e/ DrFCQB8HRTB8ZiF4NPXdiNtA0fhQLUGACzdkvgFiUFGka8L9hGnYWvSdLCDTAORCkTyY hzwna0jIeOGe7H+IQvKg9DLwVDF7EkQCyHCs8EWbFspD7jvHaDxVZneX17nH2SwmMPFG fjStaYkk4PkXsP66sNuQ/tk0QICKo1C20zuV6txgGvJQcIlfCpmosukC5/cu/aF5RihG 0UP1EsyMDEx9iZJPEJi+YFZQptJs2WS3MaSzcN1yUqo2u9OFjdpw4uq1j35SJgCnVDBY nPaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=y3LjrInQ; 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=pass (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 b6si2863887pjw.154.2022.02.01.11.55.17; Tue, 01 Feb 2022 11:55:29 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=y3LjrInQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359143AbiAaLE0 (ORCPT + 99 others); Mon, 31 Jan 2022 06:04:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359145AbiAaLDB (ORCPT ); Mon, 31 Jan 2022 06:03:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF1B4C0612F4; Mon, 31 Jan 2022 03:01:30 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4F2D760B2C; Mon, 31 Jan 2022 11:01:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 336D4C340E8; Mon, 31 Jan 2022 11:01:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643626889; bh=7E9ERDVZttx1BEkbi9cB6zU2U3oaHnyBYoXJvVBibGo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y3LjrInQv9UWJA3SJixuti5031CoKQddjkGKFWdPIuJ4k+z1Y0PjFM3QOIeTGGYNp XHPVjQOyXICWPxovOwbZfh9QODwPrxoVjyClhMCMYYOBzW/6FT6ZdMKuHu/GDoQwG2 hUv3VcBBWvW6PJf4FIcGwyFSgrymqmncMeSxf8CM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Guenter Roeck Subject: [PATCH 5.4 35/64] hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649 Date: Mon, 31 Jan 2022 11:56:20 +0100 Message-Id: <20220131105216.868584958@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220131105215.644174521@linuxfoundation.org> References: <20220131105215.644174521@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 commit f614629f9c1080dcc844a8430e3fb4c37ebbf05d upstream. Experiments with MAX6646 and MAX6648 show that the alert function of those chips is broken, similar to other chips supported by the lm90 driver. Mark it accordingly. Fixes: 4667bcb8d8fc ("hwmon: (lm90) Introduce chip parameter structure") Signed-off-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- drivers/hwmon/lm90.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c @@ -394,7 +394,7 @@ static const struct lm90_params lm90_par .max_convrate = 9, }, [max6646] = { - .flags = LM90_HAVE_CRIT, + .flags = LM90_HAVE_CRIT | LM90_HAVE_BROKEN_ALERT, .alert_alarms = 0x7c, .max_convrate = 6, .reg_local_ext = MAX6657_REG_R_LOCAL_TEMPL,