ALSA: hda/hda_cs_dsp_ctl: Delete hda_cs_dsp_ctl module
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 24 Apr 2025 18:12:14 +0000 (19:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 27 Apr 2025 08:02:38 +0000 (10:02 +0200)
commitbdd9ea9187c4722d3256055de683a85341157a53
treeb858f867e35c8909945412ae3f7d7eaa0407835f
parent889dbe65c7777fce04f28a6859dfb9ba2373f414
ALSA: hda/hda_cs_dsp_ctl: Delete hda_cs_dsp_ctl module

Delete the hda_cs_dsp module and move the one array and one function
that is used by the cs35l41_hda driver into that driver.

The cs35l41 and cs35l56 drivers stopped creating ALSA controls to
wrap firmware controls. The reasons are explained in:

commit 312c04cee408 ("ALSA: hda: cs35l41: Stop creating ALSA Controls
for firmware coefficients")

and

commit 34e1b1bb7324 ("ALSA: hda: cs35l56: Stop creating ALSA controls
for firmware coefficients")

The cs35l56_hda driver now doesn't use hda_cs_dsp_ctl at all. The
cs35l41_hda driver only uses the small array of firmware names and the
function to read a control value. All other functions and data in
hda_cs_dsp_ctl are unused. There is no need to keep a separate module
for such a small amount of data and code that is only used by one driver,
so remove the whole module.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20250424181214.66759-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
MAINTAINERS
sound/pci/hda/Kconfig
sound/pci/hda/Makefile
sound/pci/hda/cs35l41_hda.c
sound/pci/hda/cs35l56_hda.c
sound/pci/hda/hda_cs_dsp_ctl.c [deleted file]
sound/pci/hda/hda_cs_dsp_ctl.h [deleted file]