ASoC: core - fix module reference counting for CPU DAIs
commit61b61e3c5c9bf37ca2915ac981f444989ab22f10
authorLiam Girdwood <lrg@ti.com>
Tue, 24 May 2011 12:57:43 +0000 (24 13:57 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 May 2011 15:25:34 +0000 (24 23:25 +0800)
tree019b9855a861a10f4ad344739ebcbeb706ed23fc
parent477a66948ef8683f182682cc68e8520baf8a5b43
ASoC: core - fix module reference counting for CPU DAIs

Currently CODEC and platform drivers have their module reference count
incremented soc_probe_dai_link() whilst CPU DAI drivers have their reference
count incremented in soc_bind_dai_link().

CPU DAIs should have their reference count incremented in soc_probe_dai_link()
just like the CODEC and platform drivers.

Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c