Thread (9 messages) flat view 9 messages, 4 authors, 2011-10-09

RE: Request_irq fails for IRQ2

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2011-10-09 07:07:57

On Tue, 2011-10-04 at 11:21 +0000, smitha.vanga@wipro.com wrote:
Hi Scott,

I am able to register the IRQ now once I add the call irq_set_default_host in cpm2_pic.
This is a band-aid at best and will probably not be accepted upstream.

You should -really- describe your interrupt in the device-tree instead.

Ben.

But when I call enable_irq the code throws the below warning and gives exception in enable irq at 
spin_unlock_irqrestore(&desc->lock, flags); in enable_irq.


printk(KERN_WARNING "Unbalanced enable for IRQ %d\n", irq);

Regards,
Smitha
Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help