commit | b5cd45bfad3a25db25b40cfda9e7db80e5ee65f7 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Jul 10 03:16:39 2013 +0200 |
committer | Marek Vasut <marex@denx.de> | Mon Jul 29 23:01:32 2013 +0200 |
tree | 48d1db192ec581c709eca2c9b1bece5afab41dfd | |
parent | 5804b8859a3317d3deb1e6adafc2a2604d276f1c [diff] |
usb: mv_udc: Implement better QH accessor 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: 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>