diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-11-25 13:00:23 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-11-30 11:44:38 +0100 |
commit | 3174272474862c545d0cb7bf17b25a0f75800966 (patch) | |
tree | 5750ae64532021fee97203adb1ecf61f92de8c2e /include/sound/compress_driver.h | |
parent | 5df29bca125277eec68fc31c0c0ba41b9a3cb78b (diff) | |
download | linux-3174272474862c545d0cb7bf17b25a0f75800966.tar.gz linux-3174272474862c545d0cb7bf17b25a0f75800966.tar.bz2 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 */ |