commit | 9212f899db56c610078b0b5273cc1a97c80ede06 | [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 | 9d64ac9862d19a4e301e32ecaac10099ee60bbf4 [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>