summaryrefslogtreecommitdiffstats
path: root/Documentation/platform
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2015-06-09 14:34:21 +0100
committerMark Brown <broonie@kernel.org>2015-06-09 17:18:58 +0100
commit21e904bcf9b2e57e0599e9dddff558ffd0ce5f59 (patch)
tree1c7917db32a57f7ee9ebf97455a80c010018586f /Documentation/platform
parent6cc8ae94813dffe7ff5ba88da0fe25a697e3e8a3 (diff)
downloadtalos-op-linux-21e904bcf9b2e57e0599e9dddff558ffd0ce5f59.tar.gz
talos-op-linux-21e904bcf9b2e57e0599e9dddff558ffd0ce5f59.zip
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>
Diffstat (limited to 'Documentation/platform')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud