commit | ebfc6de29ae8e48f91e280fd37539188b5252b38 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Nov 07 20:20:06 2019 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Nov 08 14:52:42 2019 +0100 |
tree | 2361ae9e6dc6507737019d9b22c178c8051082c6 | |
parent | 66a8966aac12f2a79de514dbbe99c9b3e90c9280 [diff] |
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>