Re: [PATCH] rtc-dev: stop periodic interrupts on device release

From: Tomáš Janoušek
Date: Sat Jul 26 2008 - 14:06:23 EST


Hello,

On Sat, Jul 26, 2008 at 07:55:21PM +0200, Alessandro Zummo wrote:
> I'm not sure this is appropriate. sometimes the PIE is used to control
> external hardware and it doesn't make sense to have an application that's
> always open to handle that.
>
> Any app should be responsible to release what it has allocated, if appropriate,
> and not rely on someone else to do on his behalf.

mplayer and aireplay-ng have never done so. And what about crashes? Am I
supposed to create a small "rtcpieoff" applications and make it into all
distributions so that everyone can clean up the mess?

Additionally, it has been a regression against the old rtc and drivers like
rtc-sh do so even today.

--
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/