hwmon: f71882fg: use a muxed resource lock for the Super I/O port
authorGiel van Schijndel <me@mortis.eu>
Sun, 3 Oct 2010 12:09:49 +0000 (08:09 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 3 Oct 2010 12:57:04 +0000 (05:57 -0700)
commitcadb86570c41fe52a0ea741f1f9775e3412f0167
treefea94910a78e8327628d3e95dd34acf4a09216a8
parentc6ea21e35bf3691cad59647c771e6606067f627d
hwmon: f71882fg: use a muxed resource lock for the Super I/O port

Sleep while acquiring a resource lock on the Super I/O port. This should
prevent collisions from causing the hardware probe to fail with -EBUSY.

Signed-off-by: Giel van Schijndel <me@mortis.eu>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f71882fg.c