]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: musb-new: sunxi: Fix not calling dev_err with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:45:19 +0000 (10:45 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:54:01 +0000 (08:54 -0400)
commit7fe8cfdc7737430c30be689aa01be1711af99e20
tree95d26628196abf403d42f86199fb94effbbd3fc1
parent2667dacb423e7883969f3d5454b2b1e13ffb7e02
usb: musb-new: sunxi: Fix not calling dev_err with a device

This driver does not use DM, so we need to use a struct device instead of a
struct udevice. Not ideal, but it'll have to do for now.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/usb/musb-new/sunxi.c