summaryrefslogtreecommitdiff
path: root/sound/core/control_compat.c
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 /sound/core/control_compat.c
parent66a8966aac12f2a79de514dbbe99c9b3e90c9280 (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>
Diffstat (limited to 'sound/core/control_compat.c')
0 files changed, 0 insertions, 0 deletions