Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp862469pxb; Tue, 1 Feb 2022 12:00:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkUL7bECAd6XLjpUtIjjzGZdsIXI7TfOsZpuKvnpblVhbGVi/uvAA9KK/rxG/yAJ5A7Elm X-Received: by 2002:a17:907:6d29:: with SMTP id sa41mr17877124ejc.272.1643745641654; Tue, 01 Feb 2022 12:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643745641; cv=none; d=google.com; s=arc-20160816; b=OjQR/YoseibVE8B1KY/TMzyXOUvgmzniWyY2xsk8d6CUfFnBt3ylG2Xnt2SPluQT/y XLuZqsQrFf3ovkc7VwS/O+BTnhDvHu1fL5SVhUBRaEEI8RQYchZP0XEO4qCmwGFqGRcA oQJILlY9Cg4hgdNmP9wg7xE/HUVKpGOvfD4kZ68iyvxVWa8eseUbjqJBNaXuCC6TzfBq BL4a1A9XRNT+NJS1krfB2U0uKseN/2ZWu+kMyW9muWi4IULuzW55Z6f6P8T+0uQS7z1w 3uQ4k4Hi4P3OqSap1pp5z77Hj01bTkL4aZWJ5gvwLw712KK8CmFoj5bQs+9Lj54oq5CK 8sSA== 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=PuF1YLZIebVzIiwQOpTYmT0SJsJlHNlJscvzbnWPhDfPgxq+m7+CslojAAgQNpEbd5 1B88LtpKZfFNE3DHS2x7X0Wh0BtVpkCEZnGmxnbyAL3WUZUxU9TvRUdrgyUzLG9EunPZ 55AEqkiZX8hZLfAy68aCodLqJ6IpkwDnwlsGL4+gUJ5ddeAZjbIQpIHoiLN6EmX7wfLG Ny2QuW5D3QNPiuXq60/yZLhc79jaU7w08/4zNV7ZL7E58kpjrwiUxUQTAK7lyUQGthtG iR9hS81Dxwji437iY4JNVtIbxQnkQ4SrN1lh/QBPJdMKDFdOlzKcdUgIVMKzru3gEdab Me9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iPNCP81v; 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 hv16si4970097ejc.163.2022.02.01.12.00.15; Tue, 01 Feb 2022 12:00:41 -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=iPNCP81v; 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 S1376301AbiAaLIH (ORCPT + 99 others); Mon, 31 Jan 2022 06:08:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359118AbiAaLEh (ORCPT ); Mon, 31 Jan 2022 06:04:37 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B41EC0613A4; Mon, 31 Jan 2022 03:03:58 -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 ams.source.kernel.org (Postfix) with ESMTPS id ECC0AB82A69; Mon, 31 Jan 2022 11:03:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0809AC340E8; Mon, 31 Jan 2022 11:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643627035; bh=7E9ERDVZttx1BEkbi9cB6zU2U3oaHnyBYoXJvVBibGo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iPNCP81vSuCz/XLEFU5+4FtLI3B9Qtl6NTO/RthxvP9HovuogNZ/Lv6Hb4hP5KtEg Rxursf1dPB2FjT9X87pUP/QX7T1pytUjlAszfUm1VMIaF6YtJPflj16DKTr8Eo0iyN qFNfK40YGVjnt77sXbuU60Bpt2IhneY7861TD5MI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Guenter Roeck Subject: [PATCH 5.10 054/100] hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649 Date: Mon, 31 Jan 2022 11:56:15 +0100 Message-Id: <20220131105222.254828909@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220131105220.424085452@linuxfoundation.org> References: <20220131105220.424085452@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,