• Anand Gadiyar's avatar
    MUSB: Remove usb_musb_pm_init() call · bbde6eba
    Anand Gadiyar authored
    In usb_musb_pm_init, we attempt to access an MUSB register
    when the i-clock may not be on, or the module is otherwise
    not accessible.
    
    We need to either:
    - enable the clock before this access, or
    - remove this code and move it to the bootloader, or
    - enable the clock in the bootloader
    
    If we enable the clock in the bootloader, we might as well
    add the workaround in the bootloader itself. This code will
    anyway be changed once hwmod is in place, so remove it for now
    
    This allows us to boot the kernel on certain OMAP3 boards with
    a bootloader that doesn't enable this clock. Without this, we
    will need to upgrade the bootloaders on these boards.
    Signed-off-by: default avatarAnand Gadiyar <gadiyar@ti.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    bbde6eba
usb-musb.c 3.66 KB