]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: ctxfi: simplify mixer allocation
authorRosen Penev <rosenp@gmail.com>
Sat, 25 Apr 2026 01:30:20 +0000 (18:30 -0700)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2026 11:52:24 +0000 (13:52 +0200)
commit43cdec04ec14dda936f33f135c2fa4eebf94b738
treea23f785abf2c7604a9f90e5d26d235d6fc6a3cf4
parenta440c17869ecd71da0f295b62868fc742d09a8ba
ALSA: ctxfi: simplify mixer allocation

Combine 3 allocations into one to simplify memory management.

No need for 3 separate frees now.

Replace void pointers with proper types. No need for void here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260425013020.430496-1-rosenp@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctmixer.c
sound/pci/ctxfi/ctmixer.h