summaryrefslogtreecommitdiffstats
path: root/include/sound/timer.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-11-07 20:20:06 +0100
committerTakashi Iwai <tiwai@suse.de>2019-11-08 14:52:42 +0100
commitebfc6de29ae8e48f91e280fd37539188b5252b38 (patch)
tree2361ae9e6dc6507737019d9b22c178c8051082c6 /include/sound/timer.h
parentMerge branch 'for-linus' into for-next (diff)
downloadlinux-ebfc6de29ae8e48f91e280fd37539188b5252b38.tar.xz
linux-ebfc6de29ae8e48f91e280fd37539188b5252b38.zip
ALSA: timer: Unify master/slave linking code
The code in both snd_timer_check_master() and snd_timer_check_slave() are almost identical, both check whether the master/slave link and does linkage. Factor out the common code and call it from both functions for readability. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20191107192008.32331-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/timer.h')
0 files changed, 0 insertions, 0 deletions