hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/sound/soc/codecs/cs42l73.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * cs42l73.c -- CS42L73 ALSA Soc Audio driver
34 *
....@@ -5,11 +6,6 @@
56 *
67 * Authors: Georgi Vlaev, Nucleus Systems Ltd, <joe@nucleusys.com>
78 * Brian Austin, Cirrus Logic Inc, <brian.austin@cirrus.com>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License version 2 as
11
- * published by the Free Software Foundation.
12
- *
139 */
1410
1511 #include <linux/module.h>
....@@ -276,12 +272,6 @@
276272 static SOC_ENUM_SINGLE_DECL(xsp_output_mux_enum,
277273 CS42L73_MIXERCTL, 4,
278274 cs42l73_spo_mixer_text);
279
-
280
-static const struct snd_kcontrol_new vsp_output_mux =
281
- SOC_DAPM_ENUM("Route", vsp_output_mux_enum);
282
-
283
-static const struct snd_kcontrol_new xsp_output_mux =
284
- SOC_DAPM_ENUM("Route", xsp_output_mux_enum);
285275
286276 static const struct snd_kcontrol_new hp_amp_ctl =
287277 SOC_DAPM_SINGLE("Switch", CS42L73_PWRCTL3, 0, 1, 1);
....@@ -948,8 +938,8 @@
948938 unsigned int inv, format;
949939 u8 spc, mmcc;
950940
951
- spc = snd_soc_component_read32(component, CS42L73_SPC(id));
952
- mmcc = snd_soc_component_read32(component, CS42L73_MMCC(id));
941
+ spc = snd_soc_component_read(component, CS42L73_SPC(id));
942
+ mmcc = snd_soc_component_read(component, CS42L73_MMCC(id));
953943
954944 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
955945 case SND_SOC_DAIFMT_CBM_CFM: