ALSA: pcm: Kill set_fs() in PCM OSS layer
authorTakashi Iwai <tiwai@suse.de>
Sun, 21 May 2017 08:14:42 +0000 (10:14 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jun 2017 17:38:25 +0000 (19:38 +0200)
commit13f72c8c28fc4b2d5329c940086c8939756600c2
treea2ab21b6a8b00a143b676dec405df672afaee58d
parent66b5542e3a781091920430da42640bdf40499dea
ALSA: pcm: Kill set_fs() in PCM OSS layer

This is the last-standing one: kill the set_fs() usage in PCM OSS
layer by replacing with the new API functions to deal with the direct
in-kernel buffer copying.

The code to fill the silence can be replaced even to a one-liner to
pass NULL buffer instead of the manual copying.

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