Skip to content
  • Hema Kalliguddi's avatar
    usb: musb: add names for IRQs in structure resource · fcf173e4
    Hema Kalliguddi authored
    
    
    Soon resource data will get automatically
    populated from a set of autogenerated data
    from TI's hardware database for the OMAP
    platform.
    
    Such database, might not have resources at
    the expected order by the current drivers.
    
    While we could hack in some exceptions to
    that tool to generate resources in a specific
    order, it seems less fragile to use the
    resource name instead. That way, no matter
    what order the resources are generated, the
    driver still work.
    
    Modified the OMAP, Blackfin and Davinci
    architecture files to add the name of the IRQs
    in the resource structures and musb driver to
    use the platform_get_irq_byname() api to get
    the device and dma irq numbers instead of using
    the index.
    
    Cc: Tony Lindgren <tony@atomide.com>
    Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
    Signed-off-by: default avatarHema HK <hemahk@ti.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    fcf173e4