• Marek Vasut's avatar
    usb: mv_udc: Implement better QH accessor · b5cd45bf
    Marek Vasut authored
    
    
    The code for retrieving QH for particular endpoint is hard to understand,
    moreover it's duplicated all over the driver. Move the code into single
    nice and documented function.
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Fabio Estevam <fabio.estevam@freescale.com>
    Cc: Lei Wen <leiwen@marvell.com>
    Cc: Otavio Salvador <otavio@ossystems.com.br>
    Cc: Stefano Babic <sbabic@denx.de>
    b5cd45bf
mv_udc.c 13.7 KB