RE: [PATCH 3/3] rtc: rtc-s3c: allow multiple open / allow no-ioctl-open'ed rtc to have irq.

2011-07-03 Thread Changhwan Youn
AbwBwAGUAbgAgAC8AIAB hAGwAbABvAHcAIABuAG8ALQBpAG8AYwB0AGwALQBvAHAAZQBuACcAZQBkACAAcgB0AGMAIAB0AG8AIABoAGEAdgBlACAAaQByAHEALgA= x-cr-puzzleid: {71A23705-5400-4E21-9C23-2B1E96E33A68} MyungJoo Ham wrote: The previous rtc-s3c had two issues related with its IRQ. 1. Users cannot open rtc

Re: [PATCH 3/3] rtc: rtc-s3c: allow multiple open / allow no-ioctl-open'ed rtc to have irq.

2011-07-03 Thread MyungJoo Ham
On Mon, Jul 4, 2011 at 12:40 PM, Changhwan Youn chaos.y...@samsung.com wrote: AbwBwAGUAbgAgAC8AIAB         hAGwAbABvAHcAIABuAG8ALQBpAG8AYwB0AGwALQBvAHAAZQBuACcAZQBkACAAcgB0AGMAIAB0AG8AIABoAGEAdgBlACAAaQByAHEALgA= x-cr-puzzleid: {71A23705-5400-4E21-9C23-2B1E96E33A68} MyungJoo Ham wrote: The

[PATCH 3/3] rtc: rtc-s3c: allow multiple open / allow no-ioctl-open'ed rtc to have irq.

2011-06-27 Thread MyungJoo Ham
The previous rtc-s3c had two issues related with its IRQ. 1. Users cannot open rtc multiple times because an open operation calls request_irq on the same IRQ. (e.g., two user processes wants to open and read RTC time from rtc-s3c at the same time) 2. If alarm is set and no one has the rtc opened