Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp861183pxb; Tue, 1 Feb 2022 11:58:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7PMWpcVB/jP2FBao4GjoAYUe7TTeipOTldQ6hJZSHkvMmEXu8Kgx4+eHuFtbwxAIGvp8P X-Received: by 2002:a05:6402:11d0:: with SMTP id j16mr25823262edw.323.1643745535134; Tue, 01 Feb 2022 11:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643745535; cv=none; d=google.com; s=arc-20160816; b=AFk3BK+Hb233v+ms/husE9ZNgHyF8vl1ORmWBFwshyFvbmDWY6FgXMH2e7Xbig8frc LT8vK6ZeE2yB5Tm4xmKzJK9pZOcMEs0D0X/AttxLZXnqmS4qxsAOYuCpQn+1LCsvXz6t ZwD3gAbRkympNO4WyUl1QwyFE5JWaW8c4SbiHgvYrILTZ68Rw7MoXqSidNrPfn9CosBm Kqjnk58iz1fbfdKsp+2IrLuLZHPJLlxfeJ/WDwTOWmA9tHCLanrY+9MGyS8+XUMg8dYV d7psIEnNL1lvUlQK4htEFAh80rvH3VVBrP9WK8Xb7z9bsU2tk7hAI67RFeXIH6X6ev5/ oBJQ== 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=9gXTLi5l66KiAg90BIum6SzE87qdFrOAI1GZ5YXUavk=; b=TpMKvL+F4qvhGpDcwYDREjJ/8na8flr4DqnFyPSoRlqScUoZVLxTPNPetftIjR4qSd snQi+P60I81XxA53O6zAoNa7YicFjOpNfDsJvWtj5kmd07fdSYEZ8heDE6vVp55lhpb0 qGklPq7OWSslwgLpxHoICXFVh32UVW3aK371+tL+vGpmV+sCEM7UjuGRayirbHgx/JHr XJXHu8Sudg3naEv6qxT2KtcI268Sm9uF/OjNDZjBf/bpp5VGD1wkmDJZV3mIXwRQSNKd BVwdtyIzqcaOS+bbxB5OA69i9gP3hBPaciA0fsxkb3d1hvyJ11CP35fwfie/XPxnPSwq C7qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nnvBcVYL; 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 i10si10690794ejd.885.2022.02.01.11.58.30; Tue, 01 Feb 2022 11:58:55 -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=nnvBcVYL; 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 S1376446AbiAaLI2 (ORCPT + 99 others); Mon, 31 Jan 2022 06:08:28 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:39646 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359331AbiAaLFM (ORCPT ); Mon, 31 Jan 2022 06:05:12 -0500 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 0425F60FD2; Mon, 31 Jan 2022 11:05:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4085C340E8; Mon, 31 Jan 2022 11:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643627111; bh=z3hZqaG3OAOpTGubGmzQdXcuX5HhIvzRJ1/enbB/OB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nnvBcVYL9CGRZSiqjq9I/ROrQjPTTpN0pU51B8L0iwuaZQBJxmurYBdb+LzAxvSyn wQpbxBExEnt+qQGF8I9bxxMYi2bnbQErfPSQ1huQEYHaOHwj+rphs4jvncT9q7HQ9k ufUkkHQTkOHgk/muabH4WuZ2c/r8RQvwE+BSvoN8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Josh Lehan , Guenter Roeck , Sasha Levin Subject: [PATCH 5.10 078/100] hwmon: (lm90) Mark alert as broken for MAX6654 Date: Mon, 31 Jan 2022 11:56:39 +0100 Message-Id: <20220131105223.055021917@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 [ Upstream commit a53fff96f35763d132a36c620b183fdf11022d7a ] Experiments with MAX6654 show that its alert function is broken, similar to other chips supported by the lm90 driver. Mark it accordingly. Fixes: 229d495d8189 ("hwmon: (lm90) Add max6654 support to lm90 driver") Cc: Josh Lehan Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/lm90.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index fef02bcfedbcf..6841d0401bbd4 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c @@ -400,6 +400,7 @@ static const struct lm90_params lm90_params[] = { .reg_local_ext = MAX6657_REG_R_LOCAL_TEMPL, }, [max6654] = { + .flags = LM90_HAVE_BROKEN_ALERT, .alert_alarms = 0x7c, .max_convrate = 7, .reg_local_ext = MAX6657_REG_R_LOCAL_TEMPL, -- 2.34.1