• Tony Lindgren's avatar
    musb_hdrc: Fixes for OPT HS A tests · 58e45f3e
    Tony Lindgren authored
    If RESUME is cleared too soon, OPT HS A 6.8 tests will fail.
    
    This patch removes the check for RESUME bit before SUSPEND
    is set, and makes virthub sleep until RESUME has been held
    for 20 ms. Additionally virthub waits after clearing RESUME
    to allow musb to start generating SOFs before RESET.
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    58e45f3e
virthub.c 11.1 KB