• Felipe Balbi's avatar
    usb: musb: core: fix TX/RX endpoint order · 1c1a16a3
    Felipe Balbi authored
    commit e3c93e1a upstream.
    
    As per Mentor Graphics' documentation, we should
    always handle TX endpoints before RX endpoints.
    
    This patch fixes that error while also updating
    some hard-to-read comments which were scattered
    around musb_interrupt().
    
    This patch should be backported as far back as
    possible since this error has been in the driver
    since it's conception.
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    [lizf: Backported to 3.4: adjust context]
    Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
    1c1a16a3
musb_core.c 66.9 KB