• Amit Kucheria's avatar
    mfd: Print warning for twl4030 out-of-order script loading · 75a74565
    Amit Kucheria authored
    When the sleep script is loaded before the wakeup script, there is a
    chance that the system might go to sleep before the wakeup script
    loading is completed. This will lead to a system that does not wakeup
    and has been observed to cause non-booting boards.
    
    Various options were considered to solve this problem, including
    modification of the core twl4030 power code to be smart enough to
    reorder the loading of the scripts. But it felt too over-engineered.
    
    Hence this patch just warns the DPS script developer so that they may be
    reordered in the board-code itself.
    Signed-off-by: default avatarAmit Kucheria <amit.kucheria@verdurent.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    75a74565
twl4030-power.c 10.9 KB