summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-24 09:45:36 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-29 18:28:09 +0100
commit45571bb871b217f1031045a27d935ea7c6ea5d12 (patch)
treeafe743bfa29172c521d396e9e146dc95051b9fd2 /sound/core
parent9a19c90276e85e78612ee1d0a67ffb431253bff2 (diff)
ALSA: hda - Use standard device registration for beep
Currently the registration and free of beep input device was done manually from the register and the disconnect callbacks of the assigned codec object. This seems working in most cases, but this may be a cause of some races at probe. Moreover, due to these manual calls, the total code became unnecessarily lengthy. This patch rewrites the beep registration code to follow the standard sound device object style. This allows us reducing the code, in addition to avoiding the nested device registration calls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions