Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758073AbcDHJph (ORCPT ); Fri, 8 Apr 2016 05:45:37 -0400 Received: from mga11.intel.com ([192.55.52.93]:55726 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbcDHJpf (ORCPT ); Fri, 8 Apr 2016 05:45:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,449,1455004800"; d="scan'208";a="950774038" From: changbin.du@intel.com To: balbi@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, "Du, Changbin" Subject: [PATCH v3 0/2] Add a new debugfs entry to dump FIFO/Queue available space Date: Fri, 8 Apr 2016 17:34:20 +0800 Message-Id: <1460108062-31398-1-git-send-email-changbin.du@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <87zit6ypnx.fsf@intel.com> References: <87zit6ypnx.fsf@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 684 Lines: 21 From: "Du, Changbin" FIFO/Queue available space info can be used to debug dwc3 issues. First we remove unnecessary checking for debugfs api call, then add the new entry. changes from v2: 1. Remove commit "usb: dwc3: free dwc->regset on dwc3_debugfs_exit" Du, Changbin (2): usb: dwc3: make dwc3_debugfs_init return value be void usb: dwc3: add debugfs node to dump FIFO/Queue available space drivers/usb/dwc3/core.c | 10 +----- drivers/usb/dwc3/core.h | 5 +++ drivers/usb/dwc3/debug.h | 6 ++-- drivers/usb/dwc3/debugfs.c | 90 +++++++++++++++++++++++++--------------------- 4 files changed, 59 insertions(+), 52 deletions(-) -- 2.5.0