From patchwork Mon Sep 30 13:14:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 174750 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp7116627ill; Mon, 30 Sep 2019 06:14:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJCbfepPBitZeJ8jt42hmqGoz8uvyC1pGB+qt48VBduBAESvld2e2DN1SFSmmfLOpFtsOx X-Received: by 2002:a17:906:fc11:: with SMTP id ov17mr18737610ejb.288.1569849286235; Mon, 30 Sep 2019 06:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569849286; cv=none; d=google.com; s=arc-20160816; b=O46aiqT8uaU5B9FmREF0KpJ41ug4lCVzGbbEyWS/NQ3+tsbBZjh2IA6Ak7zHdYMoxL HbsBewlWdKVBnvGwzPV2hhGiGP9PnWaThS6ammh2vBlFv2p8ToztkCtaV5XxsFRfWgh1 GohLAfbcXlK4yQPT4PRrNGUQlCt3qcE2tDEXHRCChQtkm8EQRjKCUw02e1+P3WHvYN+n KTGRJe8ctWMySgKjjXf20kVAUv8B5r0fkpK7gUzBIr4lFHqGu8IRoZIcvD1pnapmM+zF yvBFyHU6eeg4iDM4coLbmjRk/XtkiiORFjfVGF66aw/sCoGwbe4rzpdzDsPVl5G8OD1b huAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tJEDDw3yOxrb71VC5CKbXIkJUsvnUza1w90ltv46DTs=; b=1BKldZ8bj123qfLDgf32pKFQK45aVcKmOrZO9jeaEANaciAbZrWitQx+yUTAIFnney m2vgA9uEzUblAE7L6WrG3oWeRuLBTqSH/922LmQd2YTgtBjd4oMbbdTeqnxkyfaB6/Ry 1ikc56VgGpp1VUYjpAzS36wtd+ihqOc9isUlFUHE/onGp7LRog0AKSh2/GvBnWxH+Z+v YUaN+Nwlc6CtMkvZD+v++1VUGuo4FXkjCpVLW5qsfRcfLuuQZYenTCw6TX/MF/wcBRNv ER4XHUGVtOCH41iXyCoGcgm2d0SegIbJvmSm/rcU7SI7fLCNlVc6At0eCjDXfZARzL9s taIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=K+x5g7kh; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2si6772811edw.29.2019.09.30.06.14.45; Mon, 30 Sep 2019 06:14:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=K+x5g7kh; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730977AbfI3NOp (ORCPT + 5 others); Mon, 30 Sep 2019 09:14:45 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36380 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730740AbfI3NOo (ORCPT ); Mon, 30 Sep 2019 09:14:44 -0400 Received: by mail-pf1-f193.google.com with SMTP id y22so5609668pfr.3 for ; Mon, 30 Sep 2019 06:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tJEDDw3yOxrb71VC5CKbXIkJUsvnUza1w90ltv46DTs=; b=K+x5g7khunftljJLZIgmeOIpYH76mPtnLXbqVBZ8KuZUPtvYEvPR5MMwAVAXUvIoB+ aj0ZxkQ/wNglDyyCC7rsb+rJdZztc0wE0+Ta93IibSp2jERAyN/ubwz6UwedyyXC1vaV NAUTqsvmvozN33SaaEtxruvbbbl54D2zsxYsJ/PkhodkeOvz4WdyWR3jEW6oumrmagyX Dz0kjYGzDnNHGTei2kZhyCGaVd4bDMFayuPXGgXZvnNPoRHCdUNK0mcHIqWZNhCXS6b/ Jl/iURDz1vUuzMfqRmLw5hJ+zkDFnAiqdDVY/cyy3kcVhHbFQ7KeF+nOPsARPsal0Ok/ Dk6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=tJEDDw3yOxrb71VC5CKbXIkJUsvnUza1w90ltv46DTs=; b=ko+j3ybm498eEiCYZuN7A8KuOqFFL6lMCVa4c8fbasp/MkxZVDCKTgBrzO9yLxJQrZ yKcg3TYNTKuaMFzn+JVxfthuF8dj4iEkJDv95qitycA+yfCFZYrJ+ORl/yjnezzzHYhL YvyTFZtIC9aCkPAJjr3MKGjh+UtwaOWszlxTSdijRe1mHGM4ebMXvGM33tYDYoz2DZTa MWVzfOFYN6F0MQsYqQfS6F1sqpW9nZDgmh5UBply/YqI3945ihldCmkX1tTjCEqx7PNS 8hBg5IjmlmuIIxMKRbGGCmebrC9uuxbMyzI9p9umWYjYUjRP+HEmcjT+Rto1M7mrZW3O KTxw== X-Gm-Message-State: APjAAAWQq/MnjJNbb+SHAYcGIxFVi3L4UXjzLsYaukkFuEaH8+jTJT8f sR8EOO9IYqlczauQ+XYbZ8Y= X-Received: by 2002:a63:5f09:: with SMTP id t9mr24244532pgb.51.1569849283679; Mon, 30 Sep 2019 06:14:43 -0700 (PDT) Received: from voyager.lan ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id e14sm12542848pjt.8.2019.09.30.06.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 06:14:43 -0700 (PDT) From: Joel Stanley To: Felipe Balbi , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH] usb: gadget: Quieten gadget config message Date: Mon, 30 Sep 2019 22:44:34 +0930 Message-Id: <20190930131434.12388-1-joel@jms.id.au> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On a system that often re-configures a USB gadget device the kernel log is filled with: configfs-gadget gadget: high-speed config #1: c Reduce the verbosity of this print to debug. Signed-off-by: Joel Stanley --- drivers/usb/gadget/composite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.23.0 diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 76883ff4f5bb..b49ec81194c6 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -780,9 +780,9 @@ static int set_config(struct usb_composite_dev *cdev, result = 0; } - INFO(cdev, "%s config #%d: %s\n", - usb_speed_string(gadget->speed), - number, c ? c->label : "unconfigured"); + DBG(cdev, "%s config #%d: %s\n", + usb_speed_string(gadget->speed), + number, c ? c->label : "unconfigured"); if (!c) goto done;