You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ASoC: dpcm: Add debugFS support for DPCM
Add debugFS files for DPCM link management information. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
committed by
Mark Brown
parent
01d7584cd2
commit
f86dcef87b
@@ -81,6 +81,9 @@ struct snd_soc_dpcm {
|
||||
|
||||
/* hw params for this link - may be different for each link */
|
||||
struct snd_pcm_hw_params hw_params;
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
struct dentry *debugfs_state;
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -128,5 +131,6 @@ void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, int stream,
|
||||
|
||||
/* internal use only */
|
||||
int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute);
|
||||
int soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -957,6 +957,10 @@ struct snd_soc_pcm_runtime {
|
||||
struct snd_soc_dai *cpu_dai;
|
||||
|
||||
struct delayed_work delayed_work;
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
struct dentry *debugfs_dpcm_root;
|
||||
struct dentry *debugfs_dpcm_state;
|
||||
#endif
|
||||
};
|
||||
|
||||
/* mixer control */
|
||||
|
||||
Reference in New Issue
Block a user