All of lore.kernel.org
 help / color / mirror / Atom feed
From: krishnar4 <krishnar@ami.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH linux dev-5.15] hwmon: (pmbus) modify PSU fan_target convert value to false
Date: Tue, 25 Jan 2022 18:31:16 +0530	[thread overview]
Message-ID: <20220125130116.18646-1-krishnar@ami.com> (raw)

Description: PSU can't use sysfs fan_target to control PSU fan duty.

Signed-off-by: krishnar4 <krishnar@ami.com>
---
 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


WARNING: multiple messages have this Message-ID (diff)
From: krishnar4 <krishnar@ami.com>
To: Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>,
	Linus Walleij <linus.walleij@linaro.org>
Cc: krishnar4 <krishnar@ami.com>, <linux-hwmon@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-aspeed@lists.ozlabs.org>,
	Deepak Kodihalli <dkodihalli@nvidia.com>,
	Shakeeb Pasha <spasha@nvidia.com>,
	Vinodhini J <vinodhinij@ami.com>,
	Pravinash Jeyapaul <pravinashj@ami.com>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH linux dev-5.15] hwmon: (pmbus) modify PSU fan_target convert value to false
Date: Tue, 25 Jan 2022 18:31:16 +0530	[thread overview]
Message-ID: <20220125130116.18646-1-krishnar@ami.com> (raw)

Description: PSU can't use sysfs fan_target to control PSU fan duty.

Signed-off-by: krishnar4 <krishnar@ami.com>
---
 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


WARNING: multiple messages have this Message-ID (diff)
From: krishnar4 <krishnar@ami.com>
To: Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>,
	Linus Walleij <linus.walleij@linaro.org>
Cc: krishnar4 <krishnar@ami.com>, <linux-hwmon@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-aspeed@lists.ozlabs.org>,
	Deepak Kodihalli <dkodihalli@nvidia.com>,
	Shakeeb Pasha <spasha@nvidia.com>,
	Vinodhini J <vinodhinij@ami.com>,
	Pravinash Jeyapaul <pravinashj@ami.com>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH linux dev-5.15] hwmon: (pmbus) modify PSU fan_target convert value to false
Date: Tue, 25 Jan 2022 18:31:16 +0530	[thread overview]
Message-ID: <20220125130116.18646-1-krishnar@ami.com> (raw)

Description: PSU can't use sysfs fan_target to control PSU fan duty.

Signed-off-by: krishnar4 <krishnar@ami.com>
---
 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

             reply	other threads:[~2022-01-25 13:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 13:01 krishnar4 [this message]
2022-01-25 13:01 ` [PATCH linux dev-5.15] hwmon: (pmbus) modify PSU fan_target convert value to false krishnar4
2022-01-25 13:01 ` krishnar4
2022-01-25 14:46 ` Guenter Roeck
2022-01-25 14:46   ` Guenter Roeck
2022-01-25 14:46   ` Guenter Roeck
     [not found] <git-send-email-krishnar@ami.com>
2022-01-27  5:39 ` krishnar4
2022-01-27  5:39   ` krishnar4
2022-01-27  6:04 ` krishnar4
2022-01-27  6:04   ` krishnar4
2022-01-27  6:04   ` krishnar4

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220125130116.18646-1-krishnar@ami.com \
    --to=krishnar@ami.com \
    --cc=linux-aspeed@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.