commit | 21e904bcf9b2e57e0599e9dddff558ffd0ce5f59 | [log] [tgz] |
---|---|---|
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | Tue Jun 09 14:34:21 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Jun 09 17:18:58 2015 +0100 |
tree | 1c7917db32a57f7ee9ebf97455a80c010018586f | |
parent | 6cc8ae94813dffe7ff5ba88da0fe25a697e3e8a3 [diff] |
ASoC: qcom: storm: allocate snd_soc_card struct dynamically. 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. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>