summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-06-09 23:11:58 +0200
committerbuild.automotivelinux.org <jenkins@automotivelinux.org>2019-06-11 15:42:20 +0200
commit910541b2b933f4a437ea83ec3ec19242a41a3630 (patch)
tree4522d3b2b1ecf771b712f8478118ed84e8e49974 /meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch
parent5e28b182790ce38cb769949a5f2f9c649b6978c6 (diff)
Supporting commits for the switch to pipewire
We move all components around meta-audio-soundmanager-framework to that layer (still kept on request). We deprecate the meta-audio-4a-framework layer for Happy Halibut. Bug-AGL: SPEC-2473 Change-Id: I2a7c9d815801a3f8ea80943165ea6fd1422533ea Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch')
-rw-r--r--meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta-audio-4a-framework/recipes-kernel/snd-avirt/files/0001-snd-avirt-backport-kernel-4.12-api.patch b/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/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
-