ASoC: sst-haswell-pcm: Alloc state struct in driver probe()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 20 Aug 2014 11:08:47 +0000 (13:08 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 6 Sep 2014 13:44:33 +0000 (14:44 +0100)
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>

No differences found