]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core - fix module reference counting for CPU DAIs
authorLiam Girdwood <lrg@ti.com>
Tue, 24 May 2011 12:57:43 +0000 (13:57 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 May 2011 15:25:34 +0000 (23:25 +0800)
commit130f8a4032f58d4c6c45aae6f9bdd979e725af32
tree019b9855a861a10f4ad344739ebcbeb706ed23fc
parent3eb045d8da276c4a50234c1fbcc40ede7b75968d
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