]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: info: Always register entries recursively
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2019 11:31:42 +0000 (12:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2019 12:58:03 +0000 (13:58 +0100)
commit348c5ad5d69cc0a3fb1f6e3f22787a9721e2a420
tree83257baac38e6e5227eb7d7d4aa69000d7b5cd97
parent6ce1d63ed7210e7120070297976460f868c36314
ALSA: info: Always register entries recursively

Make sure that all children entries are registered by a single call of
snd_info_register().  OTOH, don't register if a parent isn't
registered yet.

This allows us to create the whole procfs tree in a shot at the last
stage of card registration phase in a later patch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/info.c