From: Lars-Peter Clausen Date: Wed, 20 Aug 2014 11:08:47 +0000 (+0200) Subject: ASoC: sst-haswell-pcm: Alloc state struct in driver probe() X-Git-Tag: fixes-against-v3.18-rc2~128^2~8^2~12^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd033808e2b160bab61cfe18b0ecb4ccc7809516;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed