Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp858066pxb; Tue, 1 Feb 2022 11:53:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxH3fzO28oCzSjrWP2Vd2fBUNbwAJy5K+g2383TbYdzYfKIDf6obaXP20DXqdc5qrhZNMnQ X-Received: by 2002:a63:f508:: with SMTP id w8mr22375515pgh.236.1643745227852; Tue, 01 Feb 2022 11:53:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643745227; cv=none; d=google.com; s=arc-20160816; b=bStJL2dKHDJUGxUIRoA65+SPI7vIK9YIGY2/L0zPMqgIozaNBG6WqnQur9i1tXrMgn NJuUozcoEsoQ2AsYscmW2m3orXceuxA2OOoK8Bar4nFD98yvWw0De7AdZmsxLrocwOBn Y66InFPGZ2bIbCY8J40AmrVM1kGHe62yi7Jaafh+D1SP+gXLwppWXsFt8QwcWlFqlznU OfzP8Q6nWPC0Os6U7Mtju2jM/aI6iLYUe8P8AMz6CPVfDEh2AR4q/R9f2ZlzU5y7PHTd /rd5IncSukDiOjdUkc+unWjO2MW+Y/UIBlYzUu6g/SpZsiBO0Z55KrSxi0BEoSZw38Gp mDrw== 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=vA34KunvjUQ8pMwCrydgvP6zo9PbK6zDrU7hGlCk9zA=; b=qypnyN6rYIG2fDH+/FnU19kpS8q/vFqxYzZqzNA7BdJNEYfk3nkUzj8XmMXzP0c7ti s6MaFhBjvLpcdav+iCb07yMsV1/en2caneaq+O8QiKYDvc8H5QMgeytRikeUkBnjXbia TrOPL5zGOmuiMurgyTXBy0pvPnCEjK5ZG/wC/uq9ATZfiJLmbEYwNt/AUwBy1AU2DBV5 s/x8Dgm2l4W1bqz3PJEg+2AqhvZLHrGmNoVIsihah2dzypdnOJk2tZXr2C8IQgGa5PMh XCrApFVTLCbgWMQ4yZCQb/94AzKETnyXAezLqpAvST3fAAJPHvbOpJ98ehHJejekhCAE e2/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LB4O2HIL; 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 u190si16670208pgd.227.2022.02.01.11.53.36; Tue, 01 Feb 2022 11:53:47 -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=LB4O2HIL; 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 S1358661AbiAaLDt (ORCPT + 99 others); Mon, 31 Jan 2022 06:03:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358969AbiAaLCU (ORCPT ); Mon, 31 Jan 2022 06:02:20 -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 BC2BCC06135C; Mon, 31 Jan 2022 03:00:29 -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 8A3FDB82A67; Mon, 31 Jan 2022 11:00:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFB79C340EF; Mon, 31 Jan 2022 11:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643626827; bh=pEbtwk1Tu+AIA9m5CSRw9WEv78RmSuPWfYDqnGxqOKo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LB4O2HILfFH2tzPXcRk2HeMhXzJUeN18Qrp2B2FULy9Ll6CR+SIUvN6KHjJIEC5Zv imB1alJKorMIIpxP/DajX/G3AyFs+biFUxb+5OEbn5WJz9sbGbJC4NxLLOBxry9cY2 5JFgGvYCkkzdvVu2bGHlXBlQq3H4WXgdwTbtim3g= 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.4 53/64] hwmon: (lm90) Mark alert as broken for MAX6654 Date: Mon, 31 Jan 2022 11:56:38 +0100 Message-Id: <20220131105217.468698771@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 [ 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 0e3304d1c3f28..28b408728282d 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