Re: [PATCH-V2 1/3] RTC:s35390a: Add Alarm interrupt support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Felipe Balbi
Date: Saturday, August 21, 2010 - 7:05 am

Hi,

On Sat, Aug 21, 2010 at 02:30:27PM +0200, ext hvaibhav@ti.com wrote:

don't you need some locking on the irq handler ? a mutex maybe ? Just 
wondering...


free_irq() won't behave correctly, I believe since you're passing 
different dev_id parameters. If you look at the implementation of 
free_irq() you'll see it uses dev_id to find the correct struct 
irqaction pointer.

-- 
balbi

DefectiveByDesign.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH-V2 1/3] RTC:s35390a: Add Alarm interrupt support, Felipe Balbi, (Sat Aug 21, 7:05 am)
RE: [PATCH-V2 1/3] RTC:s35390a: Add Alarm interrupt support, Hiremath, Vaibhav, (Sun Aug 22, 9:58 pm)
RE: [PATCH-V2 1/3] RTC:s35390a: Add Alarm interrupt support, Hiremath, Vaibhav, (Mon Aug 23, 3:34 am)