summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-16 16:06:09 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-16 18:20:38 +0200
commita19bf815f40afddac5719a1edb3c46710a52819b (patch)
tree77d77d999edd2f5833e4961fc66aade2f934ba0e /tools/lib/python/kdoc/python_version.py
parent85ef6509bfc1eb41743ea333bf6854b2eed2f9be (diff)
ALSA: jack: Expose injection debugfs at device register phase
Currently we add debugfs interfaces for jack injection (with CONFIG_SND_JACK_INJECTION_DEBUG) at creating jack kctls in snd_jack_kctl_add(). This means that those debugfs interfaces are already exposed to user-space at the early probe phase -- that is, it allows user-space already fiddling with it, while other components are still being initialized and hidden until snd_card_register(). Depending on the driver implementation, such behavior can be an unpleasant surprise. For aligning the device exposure behavior, move the debugfs registration at the device register phase, too. snd_jack_kctl_add() may still add the corresponding debugfs interfaces (for the dynamically added jacks, if any), but it's done only conditionally after the card has been registered. Reviewed-by: Cen Zhang <zzzccc427@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261016140653.4406-1-tiwai@suse.de
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions