diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-03-20 07:54:42 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-21 17:50:50 +0300 |
commit | 0580dde59438686d60762b6da9229ebec693b94f (patch) | |
tree | 25717d2a2c6752dc165ea79d352253042fe2c192 /sound/soc/generic/simple-card.c | |
parent | 883149027a989dc121ad277785a4b4a901b7fd31 (diff) | |
download | linux-0580dde59438686d60762b6da9229ebec693b94f.tar.xz |
ASoC: simple-card-utils: add asoc_simple_debug_info()
Current simple-card-utils has dev_dbg(), but people want to
add #define DEBUG at simple-card/audio-graph, not simple-card-utils.
And, people want to get all information.
This patch adds new asoc_simple_debug_info() to indicates information.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/simple-card.c')
-rw-r--r-- | sound/soc/generic/simple-card.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index b792638a11c8..77899624787e 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -813,6 +813,8 @@ static int simple_probe(struct platform_device *pdev) snd_soc_card_set_drvdata(card, priv); + asoc_simple_debug_info(priv); + ret = devm_snd_soc_register_card(dev, card); if (ret < 0) goto err; |