Thread (3 messages) 3 messages, 2 authors, 2015-06-09

Re: [PATCH 1/2] ASoC: qcom: storm: allocate snd_soc_card struct dynamically.

From: Mark Brown <broonie@kernel.org>
Date: 2015-06-09 16:19:36
Also in: alsa-devel, linux-arm-msm, lkml

On Tue, Jun 09, 2015 at 02:34:21PM +0100, Srinivas Kandagatla wrote:
This patch moves static allocation of snd_soc_card to dynamic allocation,
the reason to do this is to avoid holding up any dangling pointers
in this static structures. And I see no use for having this struct as static
given that the card->name is also populated dynamically from dt.
Applied both, thanks.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help