diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-11-15 09:47:29 +1100 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-11-15 09:47:29 +1100 |
commit | ea9a8ede7f343d589c8d9fac945f7b3d9dca9c3f (patch) | |
tree | 38691a159e1320b18b67b5a4bc2b7b2864d6fbab | |
parent | 4ff37d576bc43e4655e5ed02bc8016e266c9893d (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
@@ -250,9 +250,8 @@ static struct snd_pcm *pcm_create(struct snd_avirt_stream *stream) PCM_OPS_SET(pcm_ops_ap, &pcm_ops, trigger); PCM_OPS_SET(pcm_ops_ap, &pcm_ops, pointer); PCM_OPS_SET(pcm_ops_ap, &pcm_ops, get_time_info); - PCM_OPS_SET(pcm_ops_ap, &pcm_ops, fill_silence); - PCM_OPS_SET(pcm_ops_ap, &pcm_ops, copy_user); - PCM_OPS_SET(pcm_ops_ap, &pcm_ops, copy_kernel); + PCM_OPS_SET(pcm_ops_ap, &pcm_ops, silence); + PCM_OPS_SET(pcm_ops_ap, &pcm_ops, copy); PCM_OPS_SET(pcm_ops_ap, &pcm_ops, mmap); PCM_OPS_SET(pcm_ops_ap, &pcm_ops, ack); |