summaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-04-11 18:07:27 +0200
committerTakashi Iwai <tiwai@suse.de>2018-04-17 13:01:16 +0200
commitc99c5a3bb575f67700f9d1b216652750ea4a31a5 (patch)
treec52bc5e77af50bf4eaed2683d613a4901e928294 /sound/usb
parentALSA: pcm: Unify playback and capture poll callbacks (diff)
downloadlinux-c99c5a3bb575f67700f9d1b216652750ea4a31a5.tar.xz
linux-c99c5a3bb575f67700f9d1b216652750ea4a31a5.zip
ALSA: pcm: Unify delay calculation in snd_pcm_status() and snd_pcm_delay()
Yet another slight code cleanup: there are two places where calculating the PCM delay, and they can be unified in a single helper. It reduces the multiple open codes. Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions