• Gerard Cauvy's avatar
    usb: dwc3: ep0: fix SetFeature(TEST) · 3b637367
    Gerard Cauvy authored
    When host requests us to enter a test mode,
    we cannot directly enter the test mode before
    Status Phase is completed, otherwise the core
    will never be able to deliver the Status ZLP
    to host, because it has already entered the
    requested Test Mode.
    
    In order to fix the error, we move the actual
    start of Test Mode right after we receive
    Transfer Complete event of the status phase.
    Signed-off-by: default avatarGerard Cauvy <g-cauvy1@ti.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    3b637367
core.h 24.1 KB