[alsa-devel] [PATCH 1/2] ASoC: qcom: storm: allocate snd_soc_card struct dynamically.

Mark Brown broonie at kernel.org
Tue Jun 9 18:19:09 CEST 2015


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150609/2e06d04b/attachment.sig>


More information about the Alsa-devel mailing list