commit | bd033808e2b160bab61cfe18b0ecb4ccc7809516 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Aug 20 13:08:47 2014 +0200 |
committer | Mark Brown <broonie@linaro.org> | Sat Sep 06 14:44:33 2014 +0100 |
tree | a64a0e538a06a411c65952813a8d600b816475f6 | |
parent | 1ee0beb985e097aa07fa7feab4e11ecf251d763c [diff] |
ASoC: sst-haswell-pcm: Alloc state struct in driver probe() Resource allocations should happen in driver probe callback rather than in snd_soc_platform probe functions. Especially if the resource is device managed. The snd_soc_* probe/remove functions are mainly intended to be used for things that require the component to be already bound to a card. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>