[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121129102631.GH19440@n2100.arm.linux.org.uk>
Date: Thu, 29 Nov 2012 10:26:31 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Chao Xie <chao.xie@...vell.com>
Cc: a.zummo@...ertech.it, rtc-linux@...glegroups.com,
linux-kernel@...r.kernel.org, haojian.zhuang@...il.com,
linux-arm-kernel@...ts.infradead.org, xiechao.mail@...il.com
Subject: Re: [PATCH 4/4] rtc: pxa: request rtc irqs when probe/remove the
device
On Wed, Nov 28, 2012 at 09:21:10PM -0500, Chao Xie wrote:
> The original pxa_rtc_open/pxa_rtc_release will be called
> when the /dev/rtc0 is opened or closed.
> In fact, these two functions will register/unregister the irqs.
> User application will use /dev/rtc0 to read the rtc time or set
> the alarm. The rtc should still run indepent of open/close the
> rtc device.
> So only register the irqs when probe the device,
> and disable clock and unregister the irqs when remove the device.
Again, this is wrong.
--
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