summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-11-07 22:20:06 +0300
committerTakashi Iwai <tiwai@suse.de>2019-11-08 16:52:42 +0300
commitebfc6de29ae8e48f91e280fd37539188b5252b38 (patch)
tree2361ae9e6dc6507737019d9b22c178c8051082c6 /include
parent66a8966aac12f2a79de514dbbe99c9b3e90c9280 (diff)
downloadlinux-ebfc6de29ae8e48f91e280fd37539188b5252b38.tar.xz
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')
0 files changed, 0 insertions, 0 deletions