Skip to contentSkip to conversation

usb: dwc3: gadget: remove unnecessary dev_info()

PATCH New Laurent Pinchart 1 participant 1 message Aug 20, 2018 USB

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 usb: dwc3: gadget: remove unnecessary dev_info()

Hi Felipe,

Thank you for the patch.

Quoted 5 lines · On Monday, 20 August 2018 13:30:01 EEST Felipe Balbi wrote:

Running out of requests on isochronous endpoints is part of normal operation. We don't really need to know about it every time it happens.

Quoted 17 lines
---
 drivers/usb/dwc3/gadget.c | 2 --
 1 file changed, 2 deletions(-)
drivers/usb/dwc3/gadget.c +0 -2
index 0bac9b02f28b..8d3e0f2cde8b 100644
@@ -1261,8 +1261,6 @@ static int __dwc3_gadget_start_isoc(struct dwc3_ep
 *dep) u16 frame_number;
 
 	if (list_empty(&dep->pending_list)) {
-		dev_info(dep->dwc->dev, "%s: ran out of requests\n",
-				dep->name);
 		dep->flags |= DWC3_EP_PENDING_REQUEST;
 		return -EAGAIN;
 	}