From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6DCCC433E1 for ; Wed, 15 Jul 2020 11:01:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C694C206F5 for ; Wed, 15 Jul 2020 11:01:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594810896; bh=YjjoHD3Wp6sBSi4hh4xOaYUzXKIyMBu6ceqlWbva7vE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=TPWyp4hnLr7gp4Ios4wj/iEI+3gExM68YXaF1i9q+AnghQaYB0G9WrvqnyNAOcTCs dUL43y7AGv2lYzdwozQoM8/xE1hmruKQ6k+/NR5xCSdVr/vGCiZHS75VxNfg/3n44S S2+R/B3Bg9sXEWh6wpZPWKvT6VxbUch6Z6tFkxSw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729138AbgGOLBg (ORCPT ); Wed, 15 Jul 2020 07:01:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:44566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728385AbgGOLBf (ORCPT ); Wed, 15 Jul 2020 07:01:35 -0400 Received: from localhost (unknown [122.171.202.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DF819206E9; Wed, 15 Jul 2020 11:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594810894; bh=YjjoHD3Wp6sBSi4hh4xOaYUzXKIyMBu6ceqlWbva7vE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OJmULLuF/9VG5+B+gNKPikV8sWzTpoWYJATi1dirD+xNf324fPe4U3uz3nRj9v+co p528K8/SsKAW9ZtYlF95dCoLyD3mgm0KGzFthjGBziKxMB3hYq4DKscefRMQ9snJwu 94vjjwq136WFis2YEo93wyg1W/vKz4xXT1XC1grU= Date: Wed, 15 Jul 2020 16:31:30 +0530 From: Vinod Koul To: Laurent Pinchart Cc: dmaengine@vger.kernel.org, Michal Simek , Hyun Kwon , Tejas Upadhyay , Satish Kumar Nagireddy , Peter Ujfalusi Subject: Re: [PATCH v6 5/6] dmaengine: xilinx: dpdma: Add debugfs support Message-ID: <20200715110130.GJ34333@vkoul-mobl> References: <20200708201906.4546-1-laurent.pinchart@ideasonboard.com> <20200708201906.4546-6-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200708201906.4546-6-laurent.pinchart@ideasonboard.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 08-07-20, 23:19, Laurent Pinchart wrote: > +static int xilinx_dpdma_debugfs_init(struct device *dev) > +{ > + int err; > + struct dentry *xilinx_dpdma_debugfs_dir, *xilinx_dpdma_debugfs_file; > + > + dpdma_debugfs.testcase = DPDMA_TC_NONE; > + > + xilinx_dpdma_debugfs_dir = debugfs_create_dir("dpdma", NULL); can you please use the dma_dev->dbg_dev_root, we are already creating /sys/kernel/debug/dmaengine// -- ~Vinod