]> git.baikalelectronics.ru Git - kernel.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)
commit8cbb5f64d2257917afe0b44412320e4b7b42fb26
tree83257baac38e6e5227eb7d7d4aa69000d7b5cd97
parent315ccfa10a44e469fbaefba9b93e118f9caab27c
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