diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-11-25 14:00:23 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-11-30 11:44:38 +0100 |
commit | 3174272474862c545d0cb7bf17b25a0f75800966 (patch) | |
tree | 5750ae64532021fee97203adb1ecf61f92de8c2e /include/sound/compress_driver.h | |
parent | ALSA: i2c: constify snd_i2c_ops structures (diff) | |
download | linux-3174272474862c545d0cb7bf17b25a0f75800966.tar.xz linux-3174272474862c545d0cb7bf17b25a0f75800966.zip |
ALSA: compress: Add procfs info file for compressed nodes
This patch implements a procfs info file for compr nodes when
SND_VERBOSE_PROCFS is enabled. This is equivalent to what the PCM
core already does for pcm nodes.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/compress_driver.h')
-rw-r--r-- | include/sound/compress_driver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/compress_driver.h b/include/sound/compress_driver.h index fa1d05512c09..85c4237bfe06 100644 --- a/include/sound/compress_driver.h +++ b/include/sound/compress_driver.h @@ -152,6 +152,11 @@ struct snd_compr { unsigned int direction; struct mutex lock; int device; +#ifdef CONFIG_SND_VERBOSE_PROCFS + char id[64]; + struct snd_info_entry *proc_root; + struct snd_info_entry *proc_info_entry; +#endif }; /* compress device register APIs */ |