]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: dwc2: Fix not calling dev_xxx with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:45:15 +0000 (10:45 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:53:52 +0000 (08:53 -0400)
commit046ade8103b904b75096b8c2af10266af0468be8
tree1f01b565ad3bee9dc6397ae2298c5e54ae05cd54
parentdf8395a01fa7a15cd82aa4571b56213bfa131779
usb: dwc2: Fix not calling dev_xxx with a device

This adds a dev argument to some functions so dev_xxx always has a device
to log with. In one instance we must use use a different log function when
we are compiled without DM_USB.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/usb/host/dwc2.c