mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[ALSA] pcm core: add prealloc_max file to substream directory to show maximum DMA size
Users ask us many times about the maximum DMA size for PCM devices. This file gives them a hint in KB. Signed-off-by: Jaroslav Kysela <[email protected]>
This commit is contained in:
parent
b66b3cfe6c
commit
c7132aeb72
2 changed files with 24 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ struct snd_pcm_substream {
|
|||
struct snd_info_entry *proc_sw_params_entry;
|
||||
struct snd_info_entry *proc_status_entry;
|
||||
struct snd_info_entry *proc_prealloc_entry;
|
||||
struct snd_info_entry *proc_prealloc_max_entry;
|
||||
#endif
|
||||
/* misc flags */
|
||||
unsigned int hw_opened: 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue