[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110520114839.GS17887@infomag.iguana.be>
Date: Fri, 20 May 2011 13:48:39 +0200
From: Wim Van Sebroeck <wim@...ana.be>
To: Nat Gurumoorthy <natg@...gle.com>
Cc: Jean Delvare <khali@...ux-fr.org>,
Guenter Roeck <guenter.roeck@...csson.com>,
lm-sensors@...sensors.org, linux-kernel@...r.kernel.org,
linux-watchdog@...r.kernel.org, mikew@...gle.com
Subject: Re: [PATCH v9 1/2] Use "request_muxed_region" in it87 watchdog
drivers
Hi Nat,
> 01 - Changes to it87 watchdog driver 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@...gle.com>
Added to linux-2.6-watchdog-next.
Kind regards,
Wim.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists