summaryrefslogtreecommitdiffstats
path: root/sound/core/hrtimer.c
diff options
context:
space:
mode:
authorTakashi Iwai2017-05-24 22:36:23 +0200
committerTakashi Iwai2017-06-02 19:38:22 +0200
commit5c7264cfbb209efea04bbbd69b8b4f5f2fc5f86d (patch)
tree851ec067b37a9fd5bfdae9e8211f3cabf25a53d2 /sound/core/hrtimer.c
parentALSA: pcm: More unification of PCM transfer codes (diff)
downloadkernel-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/hrtimer.c')
0 files changed, 0 insertions, 0 deletions