usb: ehci-omap: add helpers for checking port mode
Introduce helper functions to test port mode. These checks are
performed in several places in the driver, and these helpers
improve readability.
Signed-off-by: NAnand Gadiyar <gadiyar@ti.com>
Showing
想要评论请 注册 或 登录