aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_spdif.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-03-24 09:01:00 +0000
committerMark Brown <broonie@kernel.org>2015-03-24 10:48:56 -0700
commit4e2576bd36a12e78ac3786d05b99a820dffe687f (patch)
tree44c1484139d6f14eccf84f5aa1ca73bb711393cb /sound/soc/fsl/fsl_spdif.c
parentASoC: Remove unnecessary device_remove_file() (diff)
downloadlinux-dev-4e2576bd36a12e78ac3786d05b99a820dffe687f.tar.xz
linux-dev-4e2576bd36a12e78ac3786d05b99a820dffe687f.zip
ASoC: soc-core: initialize debugfs in snd_soc_instantiate_card()
Current soc_init_card_debugfs() is called from snd_soc_register_card() but, soc_cleanup_card_debugfs() is called from soc_cleanup_card_resources(), not from paired function. This differences don't matter for now. But if anyone wants to implement a proper hotplug/unplug, this difference would become clearer. Now, we can assume that snd_soc_instantiate_card() and soc_cleanup_card_resources() are paired function. soc_init_card_debugfs() / soc_cleanup_card_debugfs() paired function should be called from these. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
0 files changed, 0 insertions, 0 deletions