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

Tomáš Janoušek
2008-07-26T18:06:21Z

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/