• Pawel Laszczak's avatar
    usb:gadget Separated decoding functions from dwc3 driver. · 3db1b636
    Pawel Laszczak authored
    Patch moves some decoding functions from driver/usb/dwc3/debug.h driver
    to driver/usb/gadget/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/gadget.h file.
    Signed-off-by: default avatarPawel Laszczak <pawell@cadence.com>
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    3db1b636
Makefile 488 Bytes