commit | 14dc5734bdac2629ed4228f3d30662bb440a3982 | [log] [tgz] |
---|---|---|
author | Jassi Brar <jassi.brar@samsung.com> | Fri Feb 26 09:12:32 2010 +0900 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Feb 26 11:17:48 2010 +0000 |
tree | 137fb1c076b2f8d8d5292fb4547710f42faf32ce | |
parent | 6423c1875c87fa5ae56974ab8386d7c6110e3701 [diff] |
ASoC: Allow mulitple usage count of codec and cpu dai If we are to have a snd_soc_dai i.e, cpu_dai and codec_dai, shared among two or more dai_links we need to log the number of active users of the dai. For that, we change semantics of the snd_soc_dai.active flag from indicator to reference counter. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>