Message ID | CAOMZO5DVkrj3t63f5mkdotRCGsSoADdEH_pdmACwx_1K-vYPoQ@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CEDF3602A7 for <patchwork-alsa-devel@patchwork.kernel.org>; Tue, 20 Feb 2018 16:41:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8148287A8 for <patchwork-alsa-devel@patchwork.kernel.org>; Tue, 20 Feb 2018 16:41:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B009228938; Tue, 20 Feb 2018 16:41:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44D2C287A8 for <patchwork-alsa-devel@patchwork.kernel.org>; Tue, 20 Feb 2018 16:41:03 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C80A0267502; Tue, 20 Feb 2018 17:41:01 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0D5CD267505; Tue, 20 Feb 2018 17:41:01 +0100 (CET) Received: from mail-ot0-f173.google.com (mail-ot0-f173.google.com [74.125.82.173]) by alsa0.perex.cz (Postfix) with ESMTP id BE622266F0D for <alsa-devel@alsa-project.org>; Tue, 20 Feb 2018 17:40:58 +0100 (CET) Received: by mail-ot0-f173.google.com with SMTP id 95so10446726ote.5 for <alsa-devel@alsa-project.org>; Tue, 20 Feb 2018 08:40:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QMqhmN/WJFccZNSzOo00R1jc5Hqxviyi+NX6bMZRQjY=; b=Ga6VP2wsYgMeUXbPoFOAzdb+lCA/pDv2hTozp4XIVdDrusrnQsHCERhqt/umAu3DD2 cA0m66UNos1JTPxAGvxocx2Y37WcG2MQQBZWOidw3K1MupN8IMAIrcGNdKwXVl0r1bWI +6pt4OXiKHwREM/gj/8S9yiZ5KsphZN1Q9TonZMnQ4SzP5iMKR8blc67ekSCrVsTXc/0 q/gvPbiKrYyM6T1ZXeeHBvs6Atz8xOYJWPVnCaW67gO/53Dk5c7cYsfjKpjH5b+U1X5E U+szJedR20WbrjK2/JJHNUaee4eOQKpLU3wy8wGpvyptGLkfrZBvPJY/n7FCx1OVQinc IjVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QMqhmN/WJFccZNSzOo00R1jc5Hqxviyi+NX6bMZRQjY=; b=uSKSgjY1JBdnOHPL/Koo147Jk/S1J6wwPMZzxmoAlaeMR8C7YvSxDj58K1ZinBoJzX K+yYbxX40RC3FyBIjP/Tge9AD6kJ+DKboVQtCGIhdrFBy2/c08YfDdvFKJQxeYapybcX x7OuLB13za1r+nMyXfYgJcrx/A//F93apgufZ7ATWhtYb9mBIlxeIZuFYCl0neYF2DOc +YPvY9ZYGQi6FmZcEI/sCrDfIWnQMyEvrAPIA+25blke15jYiRbCo9X/zWB78wDzhPiw QnnorkhftOCjW0ZUQ50DwZMY+s/4Jr25RBU6ELWxToYMB6SA6+jEra0hWzqtO2Of451p sdSw== X-Gm-Message-State: APf1xPCJ2Trc9Hv4+N4x+XxuEMJjg6g4gM4wLpNgDM4wgGiQxHp7sR9v 3AbO9FHPRQbCxMBWKOtXy1Y7SXAG5GAmjGzkKss= X-Google-Smtp-Source: AH8x2252p21AZ9U5a/qXgHMoJ053S0vd2RME8Z43WVQ8ubQ0Z4YCjk/o41eNaMdaLwBGh0S1Y4ynhL0bnIlgZUE4XY0= X-Received: by 10.157.23.46 with SMTP id i46mr175771ota.61.1519144854381; Tue, 20 Feb 2018 08:40:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.5.137 with HTTP; Tue, 20 Feb 2018 08:40:53 -0800 (PST) In-Reply-To: <CAOMZO5C3joR2QS+yFDmQUs1Q69PfuVw8tBMNd+F+cjDnUMEPSQ@mail.gmail.com> References: <CAOMZO5D071pPr4fL7eLwWgX6h8Mppwic2u4mUCGzUZiss-+3MQ@mail.gmail.com> <CAOMZO5C3joR2QS+yFDmQUs1Q69PfuVw8tBMNd+F+cjDnUMEPSQ@mail.gmail.com> From: Fabio Estevam <festevam@gmail.com> Date: Tue, 20 Feb 2018 13:40:53 -0300 Message-ID: <CAOMZO5DVkrj3t63f5mkdotRCGsSoADdEH_pdmACwx_1K-vYPoQ@mail.gmail.com> To: Mark Brown <broonie@kernel.org> Cc: Nicolin Chen <nicoleotsuka@gmail.com>, alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>, Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: Re: [alsa-devel] ASoC: Failed to create component debugfs directory X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 3987673..270109c 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -329,6 +329,8 @@ static void soc_init_component_debugfs(struct snd_soc_component *component) if (component->init_debugfs) component->init_debugfs(component); + + component->card->debugfs_card_root = NULL; }
On Tue, Feb 20, 2018 at 11:18 AM, Fabio Estevam <festevam@gmail.com> wrote: > Any ideas why this second debugfs registration is being attempted? The change below avoids the double component debugfs registration: static void soc_cleanup_component_debugfs(struct snd_soc_component *component) Not sure what a proper fix would be.