Re: linux-next: Tree for Jul 27 (drivers/usb/dwc2/drd.c)

From: Randy Dunlap
Date: Mon Jul 27 2020 - 13:06:19 EST


On 7/27/20 6:23 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20200724:
>

on i386:

CONFIG_USB_DWC2=y
CONFIG_USB_DWC2_HOST=y

#
# Gadget/Dual-role mode requires USB Gadget support to be enabled
#
# CONFIG_USB_DWC2_PERIPHERAL is not set
# CONFIG_USB_DWC2_DUAL_ROLE is not set
# CONFIG_USB_DWC2_PCI is not set
CONFIG_USB_DWC2_DEBUG=y
# CONFIG_USB_DWC2_VERBOSE is not set
# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
CONFIG_USB_DWC2_DEBUG_PERIODIC=y


../drivers/usb/dwc2/drd.c: In function âdwc2_drd_role_sw_setâ:
../drivers/usb/dwc2/drd.c:80:38: error: âstruct dwc2_hsotgâ has no member named âtest_modeâ; did you mean âdr_modeâ?
if (role == USB_ROLE_NONE && hsotg->test_mode) {
^~~~~~~~~
dr_mode

../drivers/usb/dwc2/drd.c:114:5: error: implicit declaration of function âdwc2_hsotg_core_disconnectâ; did you mean âdwc2_hsotg_core_connectâ? [-Werror=implicit-function-declaration]
dwc2_hsotg_core_disconnect(hsotg);
^~~~~~~~~~~~~~~~~~~~~~~~~~
dwc2_hsotg_core_connect



--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>