diff options
author | Vinod Koul <vinod.koul@intel.com> | 2017-06-30 06:36:06 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-30 15:27:55 +0300 |
commit | d14700a01f9101c2bc75c24fc859c8d85ba7e623 (patch) | |
tree | 20ea10f182e16b80b4a6b265115dd5c614f7f6ff /sound/soc/intel/skylake/skl-topology.c | |
parent | 5cdf6c09ca9de3f037ba2d770206f3374459602d (diff) | |
download | linux-d14700a01f9101c2bc75c24fc859c8d85ba7e623.tar.xz |
ASoC: Intel: Skylake: Debugfs facility to dump module config
Driver modules have lot of information represented in struct
skl_module_cfg. Knowing this is useful for debug, so enable
debugfs for this structure.
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Vunny Sodhi <vunnyx.sodhi@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.c')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index 9569f118e97e..c02da16fdfd6 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -2472,6 +2472,9 @@ static int skl_tplg_widget_load(struct snd_soc_component *cmpnt, ret = skl_tplg_get_pvt_data(tplg_w, skl, bus->dev, mconfig); if (ret < 0) return ret; + + skl_debug_init_module(skl->debugfs, w, mconfig); + bind_event: if (tplg_w->event_type == 0) { dev_dbg(bus->dev, "ASoC: No event handler required\n"); |