]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: merge snd_soc_initialize_card_lists()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 20 Aug 2019 05:04:54 +0000 (14:04 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 21 Aug 2019 12:11:12 +0000 (13:11 +0100)
commitd044bdae0b99bc516dab3bbb90d1775b6d41afb2
tree9d5712440a275141ac302ca6a563c7b33d41c352
parent3fd13783183da70b1cec55b07976aca47ec2f28b
ASoC: soc-core: merge snd_soc_initialize_card_lists()

snd_soc_initialize_card_lists() is doing card related
INIT_LIST_HEAD(), but, it is already doing at
snd_soc_register_card(). We don't need to do it separately.
This patch merges these.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/877e781ldq.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c