mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
5df29bca12
commit
3174272474
2 changed files with 77 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue