]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc core add inline to handle card list initialzation
authorVinod Koul <vinod.koul@intel.com>
Thu, 13 Jan 2011 17:18:52 +0000 (22:48 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Jan 2011 23:28:01 +0000 (23:28 +0000)
commit3198a7652497aa382979643d43deffe6e3b9f409
tree835a29f06d1d043618b06da9a10aba0a6fc0fb52
parent38c763480e76d5528cca2c866c6cfe0c6fe03ef0
ASoC: soc core add inline to handle card list initialzation

Currently the soc_probe initializes the card hence it does the card list
initialzation. But if machines directly register the card they would need to
do these steps, so putting them as inline would save lot of code

This patch adds an inline to do list initialzation

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Harsha Priya <harsha.priya@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-core.c