Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fcfa463 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: drop CONFIG_USB_DWC3_DEBUG



now that we have no users of dev_dbg() in dwc3,
we can safely remove CONFIG_USB_DWC3_DEBUG.

If dev_dbg() is ever strictly necessary - and I
don't see why it would, considering we want to
rely on tracepoints for debug - we will depend
on DYNAMIC_PRINTK to enable such messages.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent e746b06c
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -104,11 +104,4 @@ config USB_DWC3_QCOM
	  Recent Qualcomm SoCs ship with one DesignWare Core USB3 IP inside,
	  Recent Qualcomm SoCs ship with one DesignWare Core USB3 IP inside,
	  say 'Y' or 'M' if you have one such device.
	  say 'Y' or 'M' if you have one such device.


comment "Debugging features"

config USB_DWC3_DEBUG
	bool "Enable Debugging Messages"
	help
	  Say Y here to enable debugging messages on DWC3 Driver.

endif
endif
+0 −2
Original line number Original line Diff line number Diff line
# define_trace.h needs to know how to find our header
# define_trace.h needs to know how to find our header
CFLAGS_trace.o				:= -I$(src)
CFLAGS_trace.o				:= -I$(src)


ccflags-$(CONFIG_USB_DWC3_DEBUG)	:= -DDEBUG

obj-$(CONFIG_USB_DWC3)			+= dwc3.o
obj-$(CONFIG_USB_DWC3)			+= dwc3.o


dwc3-y					:= core.o debug.o trace.o
dwc3-y					:= core.o debug.o trace.o