diff options
author | Nat Gurumoorthy <natg@google.com> | 2011-05-09 11:45:07 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-07-22 08:55:23 +0000 |
commit | a134b825608df6382dbcf4fe2c54232ba8f7355f (patch) | |
tree | 2e8d11aa67426d64e4084bdbce42a752d5be01ab /.mailmap | |
parent | 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe (diff) |
watchdog: Use "request_muxed_region" in it87 watchdog drivers
Changes the it87 watchdog drivers to use "request_muxed_region".
Serialize access to the hardware by using "request_muxed_region" macro defined
by Alan Cox. Call to this macro will hold off the requestor if the resource is
currently busy.
The use of the above macro makes it possible to get rid of
spinlocks in it8712f_wdt.c and it87_wdt.c watchdog drivers.
This also greatly simplifies the implementation of it87_wdt.c driver.
"superio_enter" will return an error if call to "request_muxed_region" fails.
Rest of the code change is to ripple an error return from superio_enter to
the top level.
Signed-off-by: Nat Gurumoorthy <natg@google.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions