All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Felipe Balbi <balbi@kernel.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	Peter Chen <Peter.Chen@nxp.com>,
	"Minas Harutyunyan" <hminas@synopsys.com>,
	Cristian Birsan <cristian.birsan@microchip.com>,
	Nicolas Ferre <nicolas.ferre@microchip.com>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Ludovic Desroches <ludovic.desroches@microchip.com>,
	Kevin Cernekee <cernekee@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	<bcm-kernel-feedback-list@broadcom.com>,
	Daniel Mack <daniel@zonque.org>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>, "Bin Liu" <b-liu@ti.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Stephen Boyd <swboyd@chromium.org>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	"Yoshihiro Shimoda" <yoshihiro.shimoda.uh@renesas.com>,
	Colin Ian King <colin.king@canonical.com>,
	Biju Das <biju.das@bp.renesas.com>,
	"Fabrizio Castro" <fabrizio.castro@bp.renesas.com>,
	"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
	Yangtao Li <tiny.windzz@gmail.com>, <linux-media@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-usb@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>
Subject: [PATCH v2 02/13] usb: chipidea: debug: create debugfs directory under usb root
Date: Tue, 12 Nov 2019 14:51:48 +0800	[thread overview]
Message-ID: <1573541519-28488-2-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1573541519-28488-1-git-send-email-chunfeng.yun@mediatek.com>

Move it's directory from the root of the debugfs filesystem into
the root of usb

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2:
  1. abandon new API usb_debugfs_create_dir(), and use usb_debug_root
---
 drivers/usb/chipidea/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index fcc91a338875..e0376ee646ad 100644
--- a/drivers/usb/chipidea/debug.c
+++ b/drivers/usb/chipidea/debug.c
@@ -342,7 +342,7 @@ DEFINE_SHOW_ATTRIBUTE(ci_registers);
  */
 void dbg_create_files(struct ci_hdrc *ci)
 {
-	ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL);
+	ci->debugfs = debugfs_create_dir(dev_name(ci->dev), usb_debug_root);
 
 	debugfs_create_file("device", S_IRUGO, ci->debugfs, ci,
 			    &ci_device_fops);
-- 
2.23.0

WARNING: multiple messages have this Message-ID (diff)
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Felipe Balbi <balbi@kernel.org>
Cc: Peter Chen <Peter.Chen@nxp.com>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
	Yangtao Li <tiny.windzz@gmail.com>,
	linux-kernel@vger.kernel.org,
	Minas Harutyunyan <hminas@synopsys.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Fabio Estevam <festevam@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>,
	Kevin Cernekee <cernekee@gmail.com>,
	Ludovic Desroches <ludovic.desroches@microchip.com>,
	bcm-kernel-feedback-list@broadcom.com,
	NXP Linux Team <linux-imx@nxp.com>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Cristian Birsan <cristian.birsan@microchip.com>,
	linux-media@vger.kernel.org,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Stephen Boyd <swboyd@chromium.org>,
	linux-mediatek@lists.infradead.org,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Bin Liu <b-liu@ti.com>,
	linux-arm-kernel@lists.infradead.org,
	Biju Das <biju.das@bp.renesas.com>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	linux-usb@vger.kernel.org,
	Nicolas Ferre <nicolas.ferre@microchip.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Colin Ian King <colin.king@canonical.com>,
	Shawn Guo <shawnguo@kernel.org>, Daniel Mack <daniel@zonque.org>
Subject: [PATCH v2 02/13] usb: chipidea: debug: create debugfs directory under usb root
Date: Tue, 12 Nov 2019 14:51:48 +0800	[thread overview]
Message-ID: <1573541519-28488-2-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1573541519-28488-1-git-send-email-chunfeng.yun@mediatek.com>

Move it's directory from the root of the debugfs filesystem into
the root of usb

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2:
  1. abandon new API usb_debugfs_create_dir(), and use usb_debug_root
---
 drivers/usb/chipidea/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index fcc91a338875..e0376ee646ad 100644
--- a/drivers/usb/chipidea/debug.c
+++ b/drivers/usb/chipidea/debug.c
@@ -342,7 +342,7 @@ DEFINE_SHOW_ATTRIBUTE(ci_registers);
  */
 void dbg_create_files(struct ci_hdrc *ci)
 {
-	ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL);
+	ci->debugfs = debugfs_create_dir(dev_name(ci->dev), usb_debug_root);
 
 	debugfs_create_file("device", S_IRUGO, ci->debugfs, ci,
 			    &ci_device_fops);
-- 
2.23.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Felipe Balbi <balbi@kernel.org>
Cc: Peter Chen <Peter.Chen@nxp.com>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
	Yangtao Li <tiny.windzz@gmail.com>,
	linux-kernel@vger.kernel.org,
	Minas Harutyunyan <hminas@synopsys.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Fabio Estevam <festevam@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>,
	Kevin Cernekee <cernekee@gmail.com>,
	Ludovic Desroches <ludovic.desroches@microchip.com>,
	bcm-kernel-feedback-list@broadcom.com,
	NXP Linux Team <linux-imx@nxp.com>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Cristian Birsan <cristian.birsan@microchip.com>,
	linux-media@vger.kernel.org,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Stephen Boyd <swboyd@chromium.org>,
	linux-mediatek@lists.infradead.org,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Bin Liu <b-liu@ti.com>,
	linux-arm-kernel@lists.infradead.org,
	Biju Das <biju.das@bp.renesas.com>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	linux-usb@vger.kernel.org,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Colin Ian King <colin.king@canonical.com>,
	Shawn Guo <shawnguo@kernel.org>, Daniel Mack <daniel@zonque.org>
Subject: [PATCH v2 02/13] usb: chipidea: debug: create debugfs directory under usb root
Date: Tue, 12 Nov 2019 14:51:48 +0800	[thread overview]
Message-ID: <1573541519-28488-2-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1573541519-28488-1-git-send-email-chunfeng.yun@mediatek.com>

Move it's directory from the root of the debugfs filesystem into
the root of usb

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2:
  1. abandon new API usb_debugfs_create_dir(), and use usb_debug_root
---
 drivers/usb/chipidea/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index fcc91a338875..e0376ee646ad 100644
--- a/drivers/usb/chipidea/debug.c
+++ b/drivers/usb/chipidea/debug.c
@@ -342,7 +342,7 @@ DEFINE_SHOW_ATTRIBUTE(ci_registers);
  */
 void dbg_create_files(struct ci_hdrc *ci)
 {
-	ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL);
+	ci->debugfs = debugfs_create_dir(dev_name(ci->dev), usb_debug_root);
 
 	debugfs_create_file("device", S_IRUGO, ci->debugfs, ci,
 			    &ci_device_fops);
-- 
2.23.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-11-12  6:52 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12  6:51 [PATCH v2 01/13] media: uvcvideo: drop error check of debugfs_create_dir() Chunfeng Yun
2019-11-12  6:51 ` Chunfeng Yun
2019-11-12  6:51 ` Chunfeng Yun
2019-11-12  6:51 ` Chunfeng Yun [this message]
2019-11-12  6:51   ` [PATCH v2 02/13] usb: chipidea: debug: create debugfs directory under usb root Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 03/13] usb: host: imx21: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 04/13] usb: dwc3: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 05/13] usb: musb: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12 15:28   ` Bin Liu
2019-11-12 15:28     ` Bin Liu
2019-11-12 15:28     ` Bin Liu
2019-11-14  3:20     ` Greg Kroah-Hartman
2019-11-14  3:20       ` Greg Kroah-Hartman
2019-11-14  3:20       ` Greg Kroah-Hartman
2019-11-14 14:02       ` Bin Liu
2019-11-14 14:02         ` Bin Liu
2019-11-14 14:02         ` Bin Liu
2019-11-15  3:21         ` Greg Kroah-Hartman
2019-11-15  3:21           ` Greg Kroah-Hartman
2019-11-15  3:21           ` Greg Kroah-Hartman
2019-11-15 13:45           ` Bin Liu
2019-11-15 13:45             ` Bin Liu
2019-11-15 13:45             ` Bin Liu
2019-11-12  6:51 ` [PATCH v2 06/13] usb: musb: dsps: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 07/13] usb: dwc2: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 08/13] usb: gadget: bcm63xx_udc: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 09/13] usb: gadget: atmel: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 10/13] usb: gadget: udc: renesas_usb3: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 11/13] usb: gadget: pxa27x: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 12/13] usb: gadget: udc: gr_udc: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-14  3:21   ` Greg Kroah-Hartman
2019-11-14  3:21     ` Greg Kroah-Hartman
2019-11-14  3:21     ` Greg Kroah-Hartman
2019-11-14  8:24     ` Chunfeng Yun
2019-11-14  8:24       ` Chunfeng Yun
2019-11-14  8:24       ` Chunfeng Yun
2019-11-12  6:51 ` [PATCH v2 13/13] usb: gadget: udc: s3c2410_udc: " Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun
2019-11-12  6:51   ` Chunfeng Yun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1573541519-28488-2-git-send-email-chunfeng.yun@mediatek.com \
    --to=chunfeng.yun@mediatek.com \
    --cc=Peter.Chen@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=b-liu@ti.com \
    --cc=balbi@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=biju.das@bp.renesas.com \
    --cc=cernekee@gmail.com \
    --cc=colin.king@canonical.com \
    --cc=cristian.birsan@microchip.com \
    --cc=daniel@zonque.org \
    --cc=f.fainelli@gmail.com \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=festevam@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=gustavo@embeddedor.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=hminas@synopsys.com \
    --cc=kernel@pengutronix.de \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ludovic.desroches@microchip.com \
    --cc=matthias.bgg@gmail.com \
    --cc=mchehab@kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=robert.jarzmik@free.fr \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=swboyd@chromium.org \
    --cc=tiny.windzz@gmail.com \
    --cc=yoshihiro.shimoda.uh@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.