]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Create card debugfs directory earlier
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 9 Apr 2015 08:52:36 +0000 (10:52 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 9 Apr 2015 10:24:03 +0000 (11:24 +0100)
commite3e8ec391a764b25d113fbcc78e55393d4f1f1bb
treed444c816e88d118e816458f3aba0c9ec2ace9540
parentf0a58167e8c8ce4ec72a9d56aa76b1536b5abc6a
ASoC: Create card debugfs directory earlier

Create the card debugfs directory at the begining of the initilization
rather then the end as various steps in the initilization sequence will try
to register files and sub-directories in the card directory.

Fixes: eae6954b3279 ("ASoC: soc-core: initialize debugfs in snd_soc_instantiate_card()")
Reported-by: Fabio Estevam <festevam@gmail.com>
Reported-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c