ALSA: pcm: Simplify snd_pcm_playback_silence()
authorTakashi Iwai <tiwai@suse.de>
Wed, 24 May 2017 16:18:15 +0000 (18:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jun 2017 17:38:23 +0000 (19:38 +0200)
commita9cd29e79965f0f769d13edcf2e9adb389698e7b
treec3c633587ba76a8a0856cd8976abc601773a01ba
parent5c7264cfbb209efea04bbbd69b8b4f5f2fc5f86d
ALSA: pcm: Simplify snd_pcm_playback_silence()

Use the existing silence helper codes for simplification.

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