ALSA: emux: fix /proc teardown at module unload
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Sat, 6 Apr 2024 06:48:14 +0000 (08:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 7 Apr 2024 06:35:44 +0000 (08:35 +0200)
commit72829b98ff3a22efb66e5b618bd0219111db1811
tree2208f7afeff73270433f46638142e400bd3484ff
parent0b6f0ff01a4a8c1b66c600263465976d57dcc1a3
ALSA: emux: fix /proc teardown at module unload

We forgot to remember the wavetable /proc entry, so we'd fail to free it
at module unload.

This matters only when only the synth module is unloaded, as unloading
the card driver would tear down the sub-entry anyway.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Message-ID: <20240406064830.1029573-2-oswald.buddenhagen@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/synth/emux/emux_proc.c