diff options
author | Takashi Iwai | 2017-05-24 22:36:23 +0200 |
---|---|---|
committer | Takashi Iwai | 2017-06-02 19:38:22 +0200 |
commit | 5c7264cfbb209efea04bbbd69b8b4f5f2fc5f86d (patch) | |
tree | 851ec067b37a9fd5bfdae9e8211f3cabf25a53d2 /sound/core/isadma.c | |
parent | ALSA: pcm: More unification of PCM transfer codes (diff) | |
download | kernel-qcow2-linux-5c7264cfbb209efea04bbbd69b8b4f5f2fc5f86d.tar.gz kernel-qcow2-linux-5c7264cfbb209efea04bbbd69b8b4f5f2fc5f86d.tar.xz kernel-qcow2-linux-5c7264cfbb209efea04bbbd69b8b4f5f2fc5f86d.zip |
ALSA: pcm: Unify read/write loop
Both __snd_pcm_lib_read() and __snd_pcm_write() functions have almost
the same code to loop over samples. For simplification, this patch
unifies both as the single helper, __snd_pcm_lib_xfer().
Other than that, there should be no functional change by this patch.
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/isadma.c')
0 files changed, 0 insertions, 0 deletions