ALSA: sh: Convert to the new PCM ops
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 May 2017 19:57:16 +0000 (21:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jun 2017 17:38:03 +0000 (19:38 +0200)
commit1cc2f8ba0b3e63e0c8977cbad89e90352251c518
tree28b6c5d2f1860864c968b83cb0739e02be9a1ef2
parent4b83eff81c817d7e4c75605670320722611315b9
ALSA: sh: Convert to the new PCM ops

Replace the copy and the silence ops with the new PCM ops.
Fixed also the user-space buffer copy with the proper
copy_from_user*() variant.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sh/sh_dac_audio.c