From patchwork Wed Jul 16 10:22:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Baldyga X-Patchwork-Id: 33722 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C88CB201F1 for ; Wed, 16 Jul 2014 10:25:47 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rl12sf4202742iec.9 for ; Wed, 16 Jul 2014 03:25:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=OeuT2K/8+RI/cc0/GFWpgsfjDlXA8Ccp4ElAcuUUlhw=; b=Q8rHA6xk6dpkmzkIYqtetGgvCWZN2rzEwQkDg87TUIbLKzdJStF7WAaSo1d1E1nolQ TvE4HCc+BVpWc8M9zYrQPdMOVMIhFMQmo44IgeO17+4bL+RmEdDvNc7+2IIrkewvNa06 Bwn3Y1JRSw3SVq8+aQsEm3/RU4lXdBIFDT4FFbgYOKK4mBqOz8hOeoTeb6IyeNhLczuy QH6l5EGTb8c6k3EKU2qAPWH5VABWOdBZ7Dgc7qPDuFeK57TPPSmsfqMm9SnMuxHOXel4 6GqtXxuCeXuV+j/DAcMvzfVKUkgZH2Jym2HuWtBiqGDxMxeIoCodH26cwm+MWjIgEkKJ oF6g== X-Gm-Message-State: ALoCoQmoY03p9hHsCa3mjfZR3bBW7qfE9gciZsVmbUwI+9V8SOUMjxFOuweGZklP4VtDslzju2+4 X-Received: by 10.42.40.148 with SMTP id l20mr14819301ice.12.1405506347289; Wed, 16 Jul 2014 03:25:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.213 with SMTP id n79ls368604qgd.29.gmail; Wed, 16 Jul 2014 03:25:47 -0700 (PDT) X-Received: by 10.220.69.68 with SMTP id y4mr27507148vci.21.1405506347193; Wed, 16 Jul 2014 03:25:47 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id yd2si8053482vdb.91.2014.07.16.03.25.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jul 2014 03:25:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so1201738vcb.29 for ; Wed, 16 Jul 2014 03:25:47 -0700 (PDT) X-Received: by 10.221.47.9 with SMTP id uq9mr6290537vcb.48.1405506347094; Wed, 16 Jul 2014 03:25:47 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp285493vcb; Wed, 16 Jul 2014 03:25:46 -0700 (PDT) X-Received: by 10.68.136.226 with SMTP id qd2mr28704295pbb.72.1405506346453; Wed, 16 Jul 2014 03:25:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn5si14088557pbb.200.2014.07.16.03.25.45; Wed, 16 Jul 2014 03:25:45 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759066AbaGPKZf (ORCPT + 28 others); Wed, 16 Jul 2014 06:25:35 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:53087 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758896AbaGPKXG (ORCPT ); Wed, 16 Jul 2014 06:23:06 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N8S0028YVIDNC90@mailout1.samsung.com>; Wed, 16 Jul 2014 19:23:01 +0900 (KST) X-AuditID: cbfee61a-f79e46d00000134f-7d-53c6528557f6 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id DA.10.04943.58256C35; Wed, 16 Jul 2014 19:23:01 +0900 (KST) Received: from AMDC2122.DIGITAL.local ([106.120.53.17]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N8S00MJHVHJNH00@mmp2.samsung.com>; Wed, 16 Jul 2014 19:23:01 +0900 (KST) From: Robert Baldyga To: balbi@ti.com Cc: paulz@synopsys.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, m.szyprowski@samsung.com, andrzej.p@samsung.com, Robert Baldyga Subject: [PATCH v2 05/12] usb: dwc2/gadget: hide some not really needed debug messages Date: Wed, 16 Jul 2014 12:22:23 +0200 Message-id: <1405506150-16185-6-git-send-email-r.baldyga@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1405506150-16185-1-git-send-email-r.baldyga@samsung.com> References: <1405506150-16185-1-git-send-email-r.baldyga@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBLMWRmVeSWpSXmKPExsVy+t9jQd3WoGPBBi/2mVjMetnOYnHwfr1F 8+L1bBaXd81hs1i0rJXZYu2Ru+wW26dMZ7J4cHgnuwOHx/65a9g9+rasYvTYsv8zo8fxG9uZ PD5vkgtgjeKySUnNySxLLdK3S+DK+LnyFmPBHM6KPbOvszUwPmDvYuTgkBAwkZj2hquLkRPI FJO4cG89WxcjF4eQwHRGiZ/7+tkhnHYmiSsLPrCAVLEJ6Ehs+T6BEcQWERCQWP/iElgRs8AJ RomO/xfYQBLCAhESV7fcB2tgEVCVOHyplxnE5hVwlTi36yQjxDo5iZPHJrOC2JwCbhJrXjez g9hCQDXH1y1jmsDIu4CRYRWjaGpBckFxUnquoV5xYm5xaV66XnJ+7iZGcHg9k9rBuLLB4hCj AAejEg/vhpCjwUKsiWXFlbmHGCU4mJVEeB38jwUL8aYkVlalFuXHF5XmpBYfYpTmYFES5z3Q ah0oJJCeWJKanZpakFoEk2Xi4JRqYEy68vip4dKiC669W0XqZ188q+BZXbDmcldco/ibjli7 PXFF1yucSnOSGD+9b/Zj2Tdlo8Gb5q+Cu0WOr1uxxf+2ZlvttNmlR7cz/VDbe+CA9vIbjyrY Fxy8YTZj1pcA9zdCtzXqvfobCo81/5gXzdiUE73to3iIzI369RfC13eJfY+f9VztVKgSS3FG oqEWc1FxIgARaXpNKwIAAA== Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Marek Szyprowski Some DWC2/s3c-hsotg debug messages are really useless for typical user, so hide them behind dev_dbg(). Signed-off-by: Marek Szyprowski Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 35b4890..95b6dcb 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -2568,7 +2568,7 @@ static int s3c_hsotg_ep_disable(struct usb_ep *ep) u32 epctrl_reg; u32 ctrl; - dev_info(hsotg->dev, "%s(ep %p)\n", __func__, ep); + dev_dbg(hsotg->dev, "%s(ep %p)\n", __func__, ep); if (ep == &hsotg->eps[0].ep) { dev_err(hsotg->dev, "%s: called for ep0\n", __func__); @@ -2626,7 +2626,7 @@ static int s3c_hsotg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) struct s3c_hsotg *hs = hs_ep->parent; unsigned long flags; - dev_info(hs->dev, "ep_dequeue(%p,%p)\n", ep, req); + dev_dbg(hs->dev, "ep_dequeue(%p,%p)\n", ep, req); spin_lock_irqsave(&hs->lock, flags);