• David Brownell's avatar
    USB: musb: silence "suspend as a_wait_vrise is_active" msgs · 89368d3d
    David Brownell authored
    Get rid of some obnoxious and inappropriate messaging, mostly on
    DaVinci, when usbcore tries to autosuspend a root hub if just a
    mini/micro-A connector is connected.  Symptom: endless stream of
    messages reading like:
    
     musb_bus_suspend 2221: trying to suspend as a_wait_vrise is_active=1
    
    Improve that musb bus suspend primitive a bit.  Take advantage of
    this call to update the OTG state machine if appropriate, moving
    the device out of the A_WAIT_VRISE state.  There's basically no
    timer for that state transition just now, except with tusb6010;
    that can make trouble.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    89368d3d
musb_host.c 61.7 KB