public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problems with commit 9ec36cafe4 (of/irq: do irq resolution in platform_get_irq) and mfd client devices
@ 2014-06-17 18:10 Guenter Roeck
  2014-06-17 20:08 ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2014-06-17 18:10 UTC (permalink / raw)
  To: Rob Herring, linux-kernel; +Cc: Samuel Ortiz, Lee Jones

Hi,

I have an mfd master and client drivers on a system which has devicetree
enabled. The mfd master driver passes interrupts to the clients using 
mfd cells and 'struct resource'. The client driver is a platform driver
which retrieves the irq using platform_get_irq().

After commit 9ec36cafe (of/irq: do irq resolution in platform_get_irq),
this code no longer works. This is because platform_get_irq() does no
longer call platform_get_resource() if OF is enabled and if dev->of_node
is not NULL (it is not NULL because there is other [static] information
which is passed to the client with devicetree data). 

Any idea how to solve this problem ? How do I now pass a virtual interrupt
from an mfd master to its clients if devicetree is enabled ?

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-17 22:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 18:10 Problems with commit 9ec36cafe4 (of/irq: do irq resolution in platform_get_irq) and mfd client devices Guenter Roeck
2014-06-17 20:08 ` Rob Herring
2014-06-17 20:29   ` Guenter Roeck
2014-06-17 21:39     ` Rob Herring
2014-06-17 22:18       ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox