commit | 6ffa6f397e80bc196ed554e4dabfe43ecc0fe7c1 | [log] [tgz] |
---|---|---|
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | Fri May 05 17:52:43 2023 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Fri May 05 18:23:52 2023 +0200 |
tree | 37f68f31ed698eea723bd7ba0cc8185d3e82a673 | |
parent | 6d8d56db0cd14c415c26e27d949c615750c40d70 [diff] |
ALSA: pcm: simplify top-up mode init in snd_pcm_playback_silence() Inline the remaining call of snd_pcm_playback_hw_avail(). This makes the top-up branch more congruent with the thresholded one, and allows simplifying the handling of the corner cases. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230505155244.2312199-6-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>