From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 506A6C433F5 for ; Thu, 27 Jan 2022 06:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bbL55442u75QAiE1S5Ydi73u4jbsQMMmRzjOFmOQZLc=; b=IO5SvFummiy5+T rKgNQZZky/tI9OPUNvK+bxPn5qGjnoGnOWVEdkzoVFuG8jNuvwxPfEUKNRtE44GQZkBESvOyhVKCJ 8GT95R+fgdurFdrRoJH7wcZqCWs3ywxtTd3ILRdwOSGixLd4g9lLEDEsIe6eDAJ9jKPvD1CxYfY5g tl8KJxlAwgObCVigUQ/PtnXb+JuFGhZEJ5wDr0tXDQLoEstEI87sLBQimeEkAS6HUxyTv08/juRNz TVdGA3w1XpklxMe/MgrfmkZlmIwzzq1NfSBplJ+tBwipdY/npqi0dL3sI20meHB6a/x+xM3GjqtMJ xL9UwnvhP51eRCFWd4oA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCxuD-00ESmw-LS; Thu, 27 Jan 2022 06:05:13 +0000 Received: from webmail.amiindia.co.in ([14.98.235.2] helo=IMSVA.IN.MEGATRENDS.COM) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCxuA-00ESmR-4t for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 06:05:11 +0000 Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6952082047; Thu, 27 Jan 2022 11:46:15 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4D13B82046; Thu, 27 Jan 2022 11:46:15 +0530 (IST) Received: from webmail.amiindia.co.in (venus1.in.megatrends.com [10.0.0.5]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Thu, 27 Jan 2022 11:46:15 +0530 (IST) Received: from msgubuntu-OptiPlex-5060.in.megatrends.com (10.0.124.83) by VENUS1.in.megatrends.com (10.0.0.5) with Microsoft SMTP Server id 14.3.468.0; Thu, 27 Jan 2022 11:35:02 +0530 From: krishnar4 To: Bartosz Golaszewski , Joel Stanley , Andrew Jeffery , Linus Walleij CC: , , , Deepak Kodihalli , Vinodhini J , Pravinash Jeyapaul , Krishna Raj , , Shakeeb Pasha Subject: [PATCH linux dev-5.15] hwmon: (pmbus) modify PSU fan_target convert value to false Date: Thu, 27 Jan 2022 11:34:59 +0530 Message-ID: <20220127060459.17310-1-krishnar@ami.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1817-8.6.0.1013-26114.002 X-TM-AS-Result: No--1.662-5.0-31-10 X-imss-scan-details: No--1.662-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1817-8.6.1013-26114.002 X-TMASE-Result: 10--1.662300-10.000000 X-TMASE-MatchedRID: 8muszqLoCjtHoOzJ1oF1dqiUivh0j2Pvljgw/8s6b3cHZBaLwEXlKGlF 7OhYLlctcwePA9FSeTz9k6grZ0shf9zmfZUrwTrUngIgpj8eDcBpkajQR5gb3savT21DsLD/UEh Wy9W70AEnRE+fI6etkituBDgcniIfegbcIIrT/+G8mBZdhaNLqDiyY/5MU8oBTzs4VfHSjec5fl oBUgk06Ga7J9YRB75owdF1Ue2Jr/JPZRTsEKEvt4pebMSk1UmKlmXPgyQocYp5E1G2nFNyeETBf 0diyKhk7DIVgUu7mCo= X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220126_220510_430104_2C946A85 X-CRM114-Status: UNSURE ( 9.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Description: PSU can't use sysfs fan_target to control PSU fan duty. Signed-off-by: krishnar4 --- drivers/hwmon/pmbus/pmbus_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/pmbus/pmbus_core.c b/drivers/hwmon/pmbus/pmbus_core.c index 776ee2237be2..a56c2e1c4079 100644 --- a/drivers/hwmon/pmbus/pmbus_core.c +++ b/drivers/hwmon/pmbus/pmbus_core.c @@ -1889,7 +1889,7 @@ static int pmbus_add_fan_ctrl(struct i2c_client *client, sensor = pmbus_add_sensor(data, "fan", "target", index, page, 0xff, PMBUS_VIRT_FAN_TARGET_1 + id, PSC_FAN, - false, false, true); + false, false, false); if (!sensor) return -ENOMEM; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel