• H
    usb: musb: add names for IRQs in structure resource · fcf173e4
    Hema Kalliguddi 提交于
    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: NKevin Hilman <khilman@deeprootsystems.com>
    Acked-by: NMike Frysinger <vapier@gentoo.org>
    Signed-off-by: NHema HK <hemahk@ti.com>
    Signed-off-by: NFelipe Balbi <balbi@ti.com>
    fcf173e4
cm_bf548.c 27.7 KB