summaryrefslogtreecommitdiff
path: root/sound/hda
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>2021-03-18 19:06:17 +0300
committerTakashi Iwai <tiwai@suse.de>2021-03-19 18:54:58 +0300
commit12b2b508300d08206674bfb3f53bb84f69cf2555 (patch)
tree6fda29b366b817807943455acc080d7b15df03c9 /sound/hda
parentdc85fc9d05d23591ddfde400c817413765611ec7 (diff)
downloadlinux-12b2b508300d08206674bfb3f53bb84f69cf2555.tar.xz
ALSA: hda: Change AZX_MAX_BUF_SIZE from 1GB to 4MB
When SND_HDA_PREALLOC_SIZE is set to 0, applications can request as much memory as there is allowed. With value of AZX_MAX_BUF_SIZE it is 1GB per stream, which is not realistic use case. Change it 4MB. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=201251#c322 Suggested-by: Takashi Iwai <tiwai@suse.de> Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Link: https://lore.kernel.org/r/20210318160618.2504068-3-amadeuszx.slawinski@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions