summaryrefslogtreecommitdiff
path: root/drivers/usb/common/Makefile
diff options
context:
space:
mode:
authorPawel Laszczak <pawell@cadence.com>2019-08-26 12:19:27 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-08-29 10:52:27 +0300
commit91f255a26bce80d27b5f3dcbb0333b852b5dbe2c (patch)
tree8794a7e71ac325aa299bb3ff1167c4cd8e5bbbf3 /drivers/usb/common/Makefile
parenta7a3a6a941cf53d49c5f40529b669304d328caf4 (diff)
usb: common: Separated decoding functions from dwc3 driver.
Patch moves some decoding functions from driver/usb/dwc3/debug.h driver to driver/usb/common/debug.c file. These moved functions include: dwc3_decode_get_status dwc3_decode_set_clear_feature dwc3_decode_set_address dwc3_decode_get_set_descriptor dwc3_decode_get_configuration dwc3_decode_set_configuration dwc3_decode_get_intf dwc3_decode_set_intf dwc3_decode_synch_frame dwc3_decode_set_sel dwc3_decode_set_isoch_delay dwc3_decode_ctrl These functions are used also in inroduced cdns3 driver. All functions prefixes were changed from dwc3 to usb. Also, function's parameters has been extended according to the name of fields in standard SETUP packet. Additionally, patch adds usb_decode_ctrl function to include/linux/usb/ch9.h file. Signed-off-by: Pawel Laszczak <pawell@cadence.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/common/Makefile')
-rw-r--r--drivers/usb/common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/common/Makefile b/drivers/usb/common/Makefile
index 0a7c45e85481..76f3e80623db 100644
--- a/drivers/usb/common/Makefile
+++ b/drivers/usb/common/Makefile
@@ -5,6 +5,7 @@
obj-$(CONFIG_USB_COMMON) += usb-common.o
usb-common-y += common.o
+usb-common-$(CONFIG_TRACING) += debug.o
usb-common-$(CONFIG_USB_LED_TRIG) += led.o
obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o