Skip to contentSkip to conversation

applesmc - switch to using

PATCH Nicolas Boichat 3 participants 4 messages Jun 23, 2007 – Jun 25, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

Quoted 9 lines · Jean Delvare

Hi Nicolas,

Forwarding this one to you as Dmitry says his mails to you are bouncing back.

Thanks.

----- Message Transféré -----

Quoted 8 lines

Date: Fri, 25 May 2007 00:41:00 -0400
De: Dmitry Torokhov <[email protected]>
À: [email protected]
Cc: [email protected], Andrew Morton <[email protected]>, Nicolas Boichat <[email protected]>
Sujet: [PATCH] applesmc - switch to using input-polldev

Not tested - no hardware...

I finally got a chance to test it, and it works.

Quoted 9 lines

Dmitry

HWMON: applesmc - convert to use input-polldev.

Switch to using input-polldev skeleton instead of implementing polling loop by itself. This also fixes problem with trylock on a mutex in atomic context.

Best regards,

Nicolas

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Dmitry:

Quoted 4 lines · Nicolas Boichat

I finally got a chance to test it, and it works.

Quoted 2 lines

Dmitry

Quoted 8 lines
Quoted 7 lines

HWMON: applesmc - convert to use input-polldev.

Switch to using input-polldev skeleton instead of implementing polling loop by itself. This also fixes problem with trylock on a mutex in atomic context.

I was about to pick this patch, but I couldn't determine the base version. Can you respin it against 2.6.22-rc5 please?

Thanks & regards,

Signature · 8 lines
Mark M. Hoffman
[email protected]


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Nicolas Boichat

Hi all,

Quoted 15 lines · Mark M. Hoffman

Hi Dmitry:

Quoted 11 lines · Nicolas Boichat

I finally got a chance to test it, and it works.

Quoted 8 lines

Dmitry

HWMON: applesmc - convert to use input-polldev.

Switch to using input-polldev skeleton instead of implementing polling loop by itself. This also fixes problem with trylock on a mutex in atomic context.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

I was about to pick this patch, but I couldn't determine the base version. Can you respin it against 2.6.22-rc5 please?

I'm maintaining an stgit tree for Intel macs, so I have it ready against the latest git.

HWMON: applesmc - convert to use input-polldev.

Switch to using input-polldev skeleton instead of implementing polling loop by itself. This also fixes problem with trylock on a mutex in atomic context.

---

 drivers/hwmon/Kconfig    |    1 +
 drivers/hwmon/applesmc.c |   83 +++++++++++++++++-----------------------------
 2 files changed, 31 insertions(+), 53 deletions(-)
drivers/hwmon/Kconfig +1 -0
index 13eea47..f0ab2ac 100644
@@ -623,6 +623,7 @@ config SENSORS_APPLESMC
 	depends on INPUT && X86
 	select NEW_LEDS
 	select LEDS_CLASS
+	select INPUT_POLLDEV
 	default n
 	help
 	  This driver provides support for the Apple System Management
drivers/hwmon/applesmc.c +30 -53

178 lines not on this page · raw message

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Nicolas Boichat
Quoted 2 lines · Nicolas Boichat

I'm maintaining an stgit tree for Intel macs, so I have it ready against the latest git.

Thank you Nicolas for covering me.

Signature · 6 lines
Dmitry

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors