[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <691678f3-d0da-2320-ef6f-82090b9d8f9d@nvidia.com>
Date: Thu, 4 Feb 2021 09:09:07 +0530
From: Sameer Pujar <spujar@...dia.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
CC: <broonie@...nel.org>, <thierry.reding@...il.com>,
<jonathanh@...dia.com>, <alsa-devel@...a-project.org>,
<linux-tegra@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<sharadg@...dia.com>
Subject: Re: [PATCH 1/2] ASoC: audio-graph: Export graph_remove() function
On 2/4/2021 4:01 AM, Kuninori Morimoto wrote:
>> Audio graph based sound card drivers can call graph_remove() function
>> for cleanups during driver removal. To facilitate this export above
>> mentioned function.
>>
>> Signed-off-by: Sameer Pujar <spujar@...dia.com>
>> Cc: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
> (snip)
>> -static int graph_remove(struct platform_device *pdev)
>> +int graph_remove(struct platform_device *pdev)
>> {
>> struct snd_soc_card *card = platform_get_drvdata(pdev);
>>
>> return asoc_simple_clean_reference(card);
>> }
>> +EXPORT_SYMBOL_GPL(graph_remove);
> Not a big deal, but
> it is just calling asoc_simple_clean_reference() which is
> already global function.
Yes that is true, but idea was to put dependency on graph_remove() so
that any additions/changes here in future will be automatically taken
care for Tegra graph card.
Powered by blists - more mailing lists