Allow SRCREV handling through poky-agl.conf
[AGL/meta-agl-demo.git] / recipes-kernel / most / files / 0001-aim-sound-3.10.31-ltsi-backport.patch
1 From 686130266ff7968edc863d398fba82bd0f78bf29 Mon Sep 17 00:00:00 2001
2 From: Christian Gromm <christian.gromm@microchip.com>
3 Date: Wed, 28 Sep 2016 13:43:36 +0200
4 Subject: [PATCH 1/4] backport module
5
6 This patch replaces function snd_card_new() with snd_card_create() to match
7 AGL/Renesas kernel API.
8
9 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
10 ---
11  aim-sound/sound.c |    2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/aim-sound/sound.c b/aim-sound/sound.c
15 index 3dc625c..af0af2d 100644
16 --- a/aim-sound/sound.c
17 +++ b/aim-sound/sound.c
18 @@ -595,7 +595,7 @@ static int audio_probe_channel(struct most_interface *iface, int channel_id,
19                 return ret;
20         }
21  
22 -       ret = snd_card_new(NULL, -1, card_name, THIS_MODULE,
23 +       ret = snd_card_create(-1, card_name, THIS_MODULE,
24                            sizeof(*channel), &card);
25         if (ret < 0)
26                 return ret;
27 -- 
28 1.7.9.5
29