]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: gus: Convert to the new PCM ops
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 May 2017 18:33:05 +0000 (20:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jun 2017 17:38:01 +0000 (19:38 +0200)
commita6970bb1dd996943fce8c975282c7146fd69f560
tree5826dfc31e4db316e178788ad680cc6d63353fc0
parent0925e6b26fcb52808145fbbb6d769485cb46f47b
ALSA: gus: Convert to the new PCM ops

Replace the copy and the silence ops with the new PCM ops.
For simplifying the code a bit, two local helpers are introduced here:
get_bpos() and playback_copy_ack().

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