summaryrefslogtreecommitdiffstats
path: root/driver/aim-sound/sound.c
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2016-07-08 10:46:19 +0200
committerChristian Gromm <christian.gromm@microchip.com>2016-07-08 10:46:28 +0200
commitee4a2f86f1f0f9eee3ce4afdcf0228fb237eb04b (patch)
tree831d63a72204324b69e21fa1c2d2e10a467009dd /driver/aim-sound/sound.c
parent35a7242c8845f687c3179a418da0296afe93ace9 (diff)
src: most: driver: update sources and adapt content
This commit updates the driver sources to version 1.3.12 and adds the make and license files to be able to download the sources via the git fetcher from within Yocto. Change-Id: I2622d2ca84c446d4dd21459173695a35fa25ae53 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Diffstat (limited to 'driver/aim-sound/sound.c')
-rw-r--r--driver/aim-sound/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/aim-sound/sound.c b/driver/aim-sound/sound.c
index 9c64580..d4e87d0 100644
--- a/driver/aim-sound/sound.c
+++ b/driver/aim-sound/sound.c
@@ -599,8 +599,8 @@ static int audio_probe_channel(struct most_interface *iface, int channel_id,
return ret;
}
- ret = snd_card_new(NULL, -1, card_name, THIS_MODULE,
- sizeof(*channel), &card);
+ ret = snd_card_create(-1, card_name, THIS_MODULE, sizeof(*channel),
+ &card);
if (ret < 0)
return ret;