summaryrefslogtreecommitdiffstats
path: root/ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-11-05 12:21:37 +0100
committerScott Murray <scott.murray@konsulko.com>2020-01-22 13:06:18 -0500
commitdacf072f08c4be318715f769558136a58862edde (patch)
tree9fc62bf72e07a75e2b0a73e560ad17b9f17e1068 /ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files
parent3df10d0f1f92a3ec378a330cb98a1416980781b2 (diff)
Declare layer compatibility with zeus
For the uprev to YP 3.0 zeus we need to update the layer compatibility. Change-Id: I60cd58c0bb2d4106958255d61a6f05e5bb950c76 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files')
-rw-r--r--ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch40
-rw-r--r--ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0002-snd-avirt-backport-kernel-4.9-api.patch63
2 files changed, 0 insertions, 103 deletions
diff --git a/ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch b/ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch
deleted file mode 100644
index fa737cb4..00000000
--- a/ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 2fc07fedd17650f64f9bfcdb8682b55dad75cccd Mon Sep 17 00:00:00 2001
-From: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-Date: Mon, 8 Apr 2019 16:38:13 +1000
-Subject: [PATCH] 0001-snd-avirt-backport-kernel-4.12-api
-
----
- core.c | 9 ++++-----
- 1 file changed, 4 insertions(+), 5 deletions(-)
-
-diff --git a/core.c b/core.c
-index c2e32c5..2bb6616 100644
---- a/core.c
-+++ b/core.c
-@@ -219,9 +219,8 @@ int snd_avirt_stream_try_complete(struct snd_avirt_stream *stream)
- /* Set PCM ops for the Audio Path*/
- PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, pointer);
- PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, get_time_info);
-- PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, fill_silence);
-- PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, copy_user);
-- PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, copy_kernel);
-+ PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, silence);
-+ PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, copy);
- PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, mmap);
- PCM_OPS_SET(pcm_ops_ap, &stream->pcm_ops, ack);
-
-@@ -331,9 +330,9 @@ snd_avirt_route_endpoint_copy(struct snd_pcm_substream *substream,
-
- switch (endpoint) {
- case SND_AVIRT_ROUTE_SOURCE:
-- return endpoint_ap->pcm_capture_ops->copy_kernel;
-+ return endpoint_ap->pcm_capture_ops->copy;
- case SND_AVIRT_ROUTE_SINK:
-- return endpoint_ap->pcm_playback_ops->copy_kernel;
-+ return endpoint_ap->pcm_playback_ops->copy;
- }
-
- return NULL;
---
-2.17.1
-
diff --git a/ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0002-snd-avirt-backport-kernel-4.9-api.patch b/ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0002-snd-avirt-backport-kernel-4.9-api.patch
deleted file mode 100644
index fa944da0..00000000
--- a/ATTIC/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0002-snd-avirt-backport-kernel-4.9-api.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From fe7fc04e4f685c72b4f971ca0e23b10d683cffe0 Mon Sep 17 00:00:00 2001
-From: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-Date: Fri, 16 Nov 2018 16:10:12 +1100
-Subject: [PATCH] snd-avirt-backport-kernel-4.9-api
-
----
- dummy/dummy.c | 6 +++---
- loopback/loopback.c | 6 +++---
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/dummy/dummy.c b/dummy/dummy.c
-index f683b92..c37be09 100644
---- a/dummy/dummy.c
-+++ b/dummy/dummy.c
-@@ -125,9 +125,9 @@ static int dummy_systimer_prepare(struct snd_pcm_substream *substream)
- return 0;
- }
-
--static void dummy_systimer_callback(struct timer_list *t)
-+static void dummy_systimer_callback(unsigned long data)
- {
-- struct dummy_systimer_pcm *dpcm = from_timer(dpcm, t, timer);
-+ struct dummy_systimer_pcm *dpcm = (struct dummy_systimer_pcm *)data;
- unsigned long flags;
- int elapsed = 0;
-
-@@ -162,7 +162,7 @@ static int dummy_systimer_create(struct snd_pcm_substream *substream)
- if (!dpcm)
- return -ENOMEM;
- substream->runtime->private_data = dpcm;
-- timer_setup(&dpcm->timer, dummy_systimer_callback, 0);
-+ setup_timer(&dpcm->timer, dummy_systimer_callback, (unsigned long)dpcm);
- spin_lock_init(&dpcm->lock);
- dpcm->substream = substream;
- return 0;
-diff --git a/loopback/loopback.c b/loopback/loopback.c
-index 4181392..6667a69 100644
---- a/loopback/loopback.c
-+++ b/loopback/loopback.c
-@@ -498,9 +498,9 @@ unlock:
- return running;
- }
-
--static void loopback_timer_function(struct timer_list *t)
-+static void loopback_timer_function(unsigned long data)
- {
-- struct loopback_pcm *dpcm = from_timer(dpcm, t, timer);
-+ struct loopback_pcm *dpcm = (struct loopback_pcm *)data;
- unsigned long flags;
-
- spin_lock_irqsave(&dpcm->cable->lock, flags);
-@@ -652,7 +652,7 @@ static int loopback_open(struct snd_pcm_substream *substream)
- }
- dpcm->loopback = loopback;
- dpcm->substream = substream;
-- timer_setup(&dpcm->timer, loopback_timer_function, 0);
-+ setup_timer(&dpcm->timer, loopback_timer_function, (unsigned long)dpcm);
-
- cable = loopback->cables[substream->pcm->device];
- if (!cable) {
---
-2.17.1
-