diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-08 11:30:06 +1000 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-08 11:30:06 +1000 |
commit | 54a61d453c6b1c17975230ba3897ff7d19dc0ada (patch) | |
tree | f5585e748f5ee4927bbf003c5fc17d0fd9c791e9 | |
parent | 8d80a94293f651bca8a86bf7710288c46372d6ae (diff) |
snd-avirt-backport-Kernel-API
Backport snd-pcm-ops struct callbacks for kernels prior to 4.13
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r-- | core.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |