]> git.baikalelectronics.ru Git - uboot.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)
commit91cf830b06d53938fef6776f4bdee5241ee55d35
tree1f01b565ad3bee9dc6397ae2298c5e54ae05cd54
parent044d83ccc176fe35920505647004778ff1e1c081
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