commit | ede709c0d293d980ceb6596132aa39941e3e1c7f | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Jul 10 03:16:41 2013 +0200 |
committer | Marek Vasut <marex@denx.de> | Mon Jul 29 23:01:33 2013 +0200 |
tree | ae5dc96a10392d58e2252804f1b614c3f4df51ed | |
parent | 8a095a68ce8e7989dec6af4011f0f41bbc554f22 [diff] |
usb: mv_udc: Implement better qTD item accessor The code for retrieving qTD item 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: Marek 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>