summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/f_hid.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-23 16:04:55 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-23 16:04:55 -0800
commitb3ee8bdcd243b8ae2143dda2cf9157bc9bfb26ea (patch)
treece268162cac862c48ce60b1d7ac2b963efadaaa9 /drivers/usb/gadget/function/f_hid.c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
parent6785a1034461c2d2c205215f63a50a740896e55b (diff)
Merge tag 'fixes-for-v3.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
Felipe writes: usb: fixes for v3.19-rc2 First set of fixes for current -rc cycle. There are a couple of build break fixes after Tony Lindgren's recent MUSB patchset, some memory leak fixes also with MUSB, a use-after-free fix with the UAC1 function. Atmel UDC got a fix for a possible hang and another for DMA setting, while dwc2 learned to kill requests in ->udc_stop() which fixes a few leaks too. One new device support here, dwc3 now supports Intel's Sunrise Point. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/f_hid.c')
-rw-r--r--drivers/usb/gadget/function/f_hid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c
index 6e04e302dc3..a1bc3e3a0b0 100644
--- a/drivers/usb/gadget/function/f_hid.c
+++ b/drivers/usb/gadget/function/f_hid.c
@@ -399,8 +399,9 @@ static int hidg_setup(struct usb_function *f,
value = __le16_to_cpu(ctrl->wValue);
length = __le16_to_cpu(ctrl->wLength);
- VDBG(cdev, "hid_setup crtl_request : bRequestType:0x%x bRequest:0x%x "
- "Value:0x%x\n", ctrl->bRequestType, ctrl->bRequest, value);
+ VDBG(cdev,
+ "%s crtl_request : bRequestType:0x%x bRequest:0x%x Value:0x%x\n",
+ __func__, ctrl->bRequestType, ctrl->bRequest, value);
switch ((ctrl->bRequestType << 8) | ctrl->bRequest) {
case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8