diff options
Diffstat (limited to 'sound/soc/soc-pcm.c')
| -rw-r--r-- | sound/soc/soc-pcm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index da457f0b7a56..24b32e4d044e 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -65,7 +65,12 @@ static const struct snd_pcm_hardware no_host_hardware = { .period_bytes_max = PAGE_SIZE >> 1, .periods_min = 2, .periods_max = 4, - .buffer_bytes_max = PAGE_SIZE, + /* + * Increase the max buffer bytes as PAGE_SIZE bytes is + * not enough to encompass all the scenarios sent by + * userspapce. + */ + .buffer_bytes_max = PAGE_SIZE * 4, }; /** |
