• David Brownell's avatar
    [PATCH] USB: usbtest updates · ff7c79e4
    David Brownell authored
    Updates to "usbtest" driver:
    
      * Improve some diagnostics.  One path that never generated diagnostics
        before should now generate two ... unless you hit a GCC bug that
        all my compilers seem to have, go figure.
    
      * Add suspend/resume support, so this behaves when the Linux host
        being used for testing suspends.
    
      * Don't test the "zero byte ep0 read" case unless real-world relevance
        for the testing is is irrelevant.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    ff7c79e4
usbtest.c 56.5 KB