Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* problem with twl4030 GPIO irqs
@ 2011-12-16  0:03 Grazvydas Ignotas
  2011-12-16  0:50 ` NeilBrown
  2011-12-16  0:56 ` Felipe Contreras
  0 siblings, 2 replies; 6+ messages in thread
From: Grazvydas Ignotas @ 2011-12-16  0:03 UTC (permalink / raw)
  To: linux-omap; +Cc: NeilBrown, Felipe Balbi, Felipe Contreras

Hi,

I'm running 3.2-rc5 on pandora with Neil's twl patches on top, and
omap_hsmmc driver fails to probe:
[    3.491394] omap_hsmmc omap_hsmmc.0: context was not lost
[    3.497161] omap_hsmmc omap_hsmmc.0: enabled
[    3.715270] omap_hsmmc omap_hsmmc.0: Unable to grab MMC CD IRQ

Pandora is using twl4030 GPIOs for card detect. From what I tried to
debug, omap_hsmmc is failing after call to request_irq() on card
detect irq with -EINVAL, irq number is 384 which is in range of other
twl4030 irqs. It looks like request_irq() is calling
request_threaded_irq() on ARM with NULL thread_fn, which in turn calls
__setup_irq() that calls irq_settings_is_nested_thread() that results
with true. As this nested flag is set it checks thread_fn, but that is
NULL causing -EINVAL final result.

Could someone who knows irq code better look at this? I think this
should reproduce on beagle too.


-- 
Gražvydas
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-12-23 10:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16  0:03 problem with twl4030 GPIO irqs Grazvydas Ignotas
2011-12-16  0:50 ` NeilBrown
2011-12-16  1:36   ` Felipe Balbi
2011-12-16 16:54   ` Grazvydas Ignotas
2011-12-23 10:57     ` Grazvydas Ignotas
2011-12-16  0:56 ` Felipe Contreras

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