static int
 snd_nm256_playback_copy(struct snd_pcm_substream *substream,
                        int channel, unsigned long pos,
-                       void __user *src, unsigned long count)
+                       struct iov_iter *src, unsigned long count)
 {
        struct snd_pcm_runtime *runtime = substream->runtime;
        struct nm256_stream *s = runtime->private_data;
 
-       if (copy_from_user_toio(s->bufptr + pos, src, count))
-               return -EFAULT;
-       return 0;
-}
-
-static int
-snd_nm256_playback_copy_kernel(struct snd_pcm_substream *substream,
-                              int channel, unsigned long pos,
-                              void *src, unsigned long count)
-{
-       struct snd_pcm_runtime *runtime = substream->runtime;
-       struct nm256_stream *s = runtime->private_data;
-
-       memcpy_toio(s->bufptr + pos, src, count);
-       return 0;
+       return copy_from_iter_toio(s->bufptr + pos, src, count);
 }
 
 /*
 static int
 snd_nm256_capture_copy(struct snd_pcm_substream *substream,
                       int channel, unsigned long pos,
-                      void __user *dst, unsigned long count)
+                      struct iov_iter *dst, unsigned long count)
 {
        struct snd_pcm_runtime *runtime = substream->runtime;
        struct nm256_stream *s = runtime->private_data;
 
-       if (copy_to_user_fromio(dst, s->bufptr + pos, count))
-               return -EFAULT;
-       return 0;
-}
-
-static int
-snd_nm256_capture_copy_kernel(struct snd_pcm_substream *substream,
-                             int channel, unsigned long pos,
-                             void *dst, unsigned long count)
-{
-       struct snd_pcm_runtime *runtime = substream->runtime;
-       struct nm256_stream *s = runtime->private_data;
-
-       memcpy_fromio(dst, s->bufptr + pos, count);
-       return 0;
+       return copy_to_iter_fromio(dst, s->bufptr + pos, count);
 }
 
 #endif /* !__i386__ */
        .trigger =      snd_nm256_playback_trigger,
        .pointer =      snd_nm256_playback_pointer,
 #ifndef __i386__
-       .copy_user =    snd_nm256_playback_copy,
-       .copy_kernel =  snd_nm256_playback_copy_kernel,
+       .copy =         snd_nm256_playback_copy,
        .fill_silence = snd_nm256_playback_silence,
 #endif
        .mmap =         snd_pcm_lib_mmap_iomem,
        .trigger =      snd_nm256_capture_trigger,
        .pointer =      snd_nm256_capture_pointer,
 #ifndef __i386__
-       .copy_user =    snd_nm256_capture_copy,
-       .copy_kernel =  snd_nm256_capture_copy_kernel,
+       .copy =         snd_nm256_capture_copy,
 #endif
        .mmap =         snd_pcm_lib_mmap_iomem,
 };