All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH 0/9] hwmon: (emc1403) Various enhancements
@ 2014-05-12 19:01 Guenter Roeck
  2014-05-12 21:08   ` Josef Gajdusek
  0 siblings, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2014-05-12 19:01 UTC (permalink / raw)
  To: lm-sensors

See individual patches for details.

Patches apply on top of the previously submitted patches by Jean Delvare
and Josef Gajdusek, which should be available in linux-next by tomorrow
and are available in the hwmon-next branch of
git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git.

Caveat: Compile tested only, not ready for integration.
Especially min_hyst, max_hyst, and fault attributes need testing (not sure if I
interpreted the datasheets correctly), but also alarm and fault attributes
on EMC14x2. Plus of course the regmap conversion. I am sure I have a test board
somewhere, but can't find it right now, so testing may take a bit.
Josef, if you have time, would be great if you can give it a try.

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [lm-sensors] [PATCH 0/9] hwmon: (emc1403) Various enhancements
  2014-05-12 19:01 [lm-sensors] [PATCH 0/9] hwmon: (emc1403) Various enhancements Guenter Roeck
@ 2014-05-12 21:08   ` Josef Gajdusek
  0 siblings, 0 replies; 5+ messages in thread
From: Josef Gajdusek @ 2014-05-12 21:08 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: jdelvare, lm-sensors, linux-kernel

Had to fix wrong variable being printed in show_bit(). After that, everything on the 1412 seems to work fine including alarms.

-	return sprintf(buf, "%d\n", !!(retval & sda->index));
+	return sprintf(buf, "%d\n", !!(val & sda->index));


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/9] hwmon: (emc1403) Various enhancements
@ 2014-05-12 21:08   ` Josef Gajdusek
  0 siblings, 0 replies; 5+ messages in thread
From: Josef Gajdusek @ 2014-05-12 21:08 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: jdelvare, lm-sensors, linux-kernel

Had to fix wrong variable being printed in show_bit(). After that, everything on the 1412 seems to work fine including alarms.

-	return sprintf(buf, "%d\n", !!(retval & sda->index));
+	return sprintf(buf, "%d\n", !!(val & sda->index));


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [lm-sensors] [PATCH 0/9] hwmon: (emc1403) Various enhancements
  2014-05-12 21:08   ` Josef Gajdusek
@ 2014-05-13  1:02     ` Guenter Roeck
  -1 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2014-05-13  1:02 UTC (permalink / raw)
  To: Josef Gajdusek; +Cc: jdelvare, lm-sensors, linux-kernel

On 05/12/2014 02:08 PM, Josef Gajdusek wrote:
> Had to fix wrong variable being printed in show_bit(). After that, everything on the 1412 seems to work fine including alarms.
>
> -	return sprintf(buf, "%d\n", !!(retval & sda->index));
> +	return sprintf(buf, "%d\n", !!(val & sda->index));
>
>

Hi Josef,

Fixed with v2. Thanks a lot for the feedback!

Guenter



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/9] hwmon: (emc1403) Various enhancements
@ 2014-05-13  1:02     ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2014-05-13  1:02 UTC (permalink / raw)
  To: Josef Gajdusek; +Cc: jdelvare, lm-sensors, linux-kernel

On 05/12/2014 02:08 PM, Josef Gajdusek wrote:
> Had to fix wrong variable being printed in show_bit(). After that, everything on the 1412 seems to work fine including alarms.
>
> -	return sprintf(buf, "%d\n", !!(retval & sda->index));
> +	return sprintf(buf, "%d\n", !!(val & sda->index));
>
>

Hi Josef,

Fixed with v2. Thanks a lot for the feedback!

Guenter



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-13  1:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 19:01 [lm-sensors] [PATCH 0/9] hwmon: (emc1403) Various enhancements Guenter Roeck
2014-05-12 21:08 ` Josef Gajdusek
2014-05-12 21:08   ` Josef Gajdusek
2014-05-13  1:02   ` [lm-sensors] " Guenter Roeck
2014-05-13  1:02     ` Guenter Roeck

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.