summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-11-11 18:01:39 +0100
committerMark Brown <broonie@kernel.org>2022-11-11 18:01:48 +0100
commite5fa3ccad328bdfc6d118874b7a2bf89178f076b (patch)
tree2fd61d38a40ac7459ecb5fd0d12e9701efd54cea /include/sound
parentASoC: codecs: lpass-wsa-macro: parse clock-output-names (diff)
parentASoC: Intel: sof_sdw_rt1316: add BQ params for the Dell models (diff)
downloadlinux-e5fa3ccad328bdfc6d118874b7a2bf89178f076b.tar.xz
linux-e5fa3ccad328bdfc6d118874b7a2bf89178f076b.zip
ASoC: Set BQ parameters for some Dell models
There are some Dell SKUs that need to set the parameters of the crossover filter (biquad). Each amplifier connects to one tweeter speaker and one woofer speaker. We should control HPF/LPF to output the proper frequency for the different speakers. If the codec driver got the BQ parameters from the device property, it will apply these parameters to the hardware.
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/control.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/control.h b/include/sound/control.h
index eae443ba79ba..cc3dcc6cfb0f 100644
--- a/include/sound/control.h
+++ b/include/sound/control.h
@@ -138,6 +138,7 @@ int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
int snd_ctl_rename_id(struct snd_card * card, struct snd_ctl_elem_id *src_id, struct snd_ctl_elem_id *dst_id);
+void snd_ctl_rename(struct snd_card *card, struct snd_kcontrol *kctl, const char *name);
int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id, int active);
struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid);
struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);