Upgrade to thud
[AGL/meta-agl.git] / meta-agl-profile-core / recipes-kernel / most / files / 0011-handle-snd_pcm_lib_mmap_vmalloc-removal.patch
1 Handle snd_pcm_lib_mmap_vmalloc removal in 4.19
2
3 Upstream-Status: Pending
4
5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
6
7 diff --git a/driver/aim-sound/sound.c b/driver/aim-sound/sound.c
8 index 6a290ff..4b3329b 100644
9 --- a/aim-sound/sound.c
10 +++ b/aim-sound/sound.c
11 @@ -463,7 +463,6 @@ static const struct snd_pcm_ops pcm_ops = {
12         .trigger    = pcm_trigger,
13         .pointer    = pcm_pointer,
14         .page       = snd_pcm_lib_get_vmalloc_page,
15 -       .mmap       = snd_pcm_lib_mmap_vmalloc,
16  };
17  
18  static int split_arg_list(char *buf, char **card_name, u16 *ch_num,