]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: dwc2: Add function for session B check
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 29 Mar 2019 14:42:18 +0000 (15:42 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 21 Apr 2019 08:26:52 +0000 (10:26 +0200)
commit2d76160f049c42087011cfa0e6e878aa2ed6b406
tree804fdf3ca8bb10bbfb20eaf7c1b982c2afd0e310
parent0fdd0bc621f060fcf60fd4ba48a2a32f338ffeac
usb: dwc2: Add function for session B check

Add a new function to check the session B validity, to be use to check
cable connection.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/usb/gadget/dwc2_udc_otg.c
include/usb/dwc2_udc.h