diff options
Diffstat (limited to 'sound/soc/codecs')
| -rw-r--r-- | sound/soc/codecs/cs-amp-lib-test.c | 1 | ||||
| -rw-r--r-- | sound/soc/codecs/cs530x.c | 2 | ||||
| -rw-r--r-- | sound/soc/codecs/max98090.c | 6 | ||||
| -rw-r--r-- | sound/soc/codecs/rt721-sdca.c | 4 | ||||
| -rw-r--r-- | sound/soc/codecs/rt721-sdca.h | 1 | 
5 files changed, 11 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs-amp-lib-test.c b/sound/soc/codecs/cs-amp-lib-test.c index 2fde84309338..3406887cdfa2 100644 --- a/sound/soc/codecs/cs-amp-lib-test.c +++ b/sound/soc/codecs/cs-amp-lib-test.c @@ -7,6 +7,7 @@  #include <kunit/resource.h>  #include <kunit/test.h> +#include <kunit/test-bug.h>  #include <kunit/static_stub.h>  #include <linux/device/faux.h>  #include <linux/firmware/cirrus/cs_dsp.h> diff --git a/sound/soc/codecs/cs530x.c b/sound/soc/codecs/cs530x.c index b9eff240b929..535387cd7aa3 100644 --- a/sound/soc/codecs/cs530x.c +++ b/sound/soc/codecs/cs530x.c @@ -793,7 +793,7 @@ static int cs530x_set_sysclk(struct snd_soc_component *component, int clk_id,  	case CS530X_SYSCLK_SRC_PLL:  		break;  	default: -		dev_err(component->dev, "Invalid clock id %d\n", clk_id); +		dev_err(component->dev, "Invalid sysclk source: %d\n", source);  		return -EINVAL;  	} diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index cb1508fc99f8..5aff5a459a43 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c @@ -1239,6 +1239,8 @@ static const struct snd_soc_dapm_widget max98091_dapm_widgets[] = {  	SND_SOC_DAPM_SUPPLY("DMIC4_ENA", M98090_REG_DIGITAL_MIC_ENABLE,  		 M98090_DIGMIC4_SHIFT, 0, max98090_shdn_event,  			 SND_SOC_DAPM_POST_PMU), +	SND_SOC_DAPM_SUPPLY("DMIC34_HPF", M98090_REG_FILTER_CONFIG, +		M98090_FLT_DMIC34HPF_SHIFT, 0, NULL, 0),  };  static const struct snd_soc_dapm_route max98090_dapm_routes[] = { @@ -1427,8 +1429,8 @@ static const struct snd_soc_dapm_route max98091_dapm_routes[] = {  	/* DMIC inputs */  	{"DMIC3", NULL, "DMIC3_ENA"},  	{"DMIC4", NULL, "DMIC4_ENA"}, -	{"DMIC3", NULL, "AHPF"}, -	{"DMIC4", NULL, "AHPF"}, +	{"DMIC3", NULL, "DMIC34_HPF"}, +	{"DMIC4", NULL, "DMIC34_HPF"},  };  static int max98090_add_widgets(struct snd_soc_component *component) diff --git a/sound/soc/codecs/rt721-sdca.c b/sound/soc/codecs/rt721-sdca.c index a4bd29d7220b..5f7b505d5414 100644 --- a/sound/soc/codecs/rt721-sdca.c +++ b/sound/soc/codecs/rt721-sdca.c @@ -281,6 +281,10 @@ static void rt721_sdca_jack_preset(struct rt721_sdca_priv *rt721)  	rt_sdca_index_write(rt721->mbq_regmap, RT721_BOOST_CTRL,  		RT721_BST_4CH_TOP_GATING_CTRL1, 0x002a);  	regmap_write(rt721->regmap, 0x2f58, 0x07); + +	regmap_write(rt721->regmap, 0x2f51, 0x00); +	rt_sdca_index_write(rt721->mbq_regmap, RT721_HDA_SDCA_FLOAT, +		RT721_MISC_CTL, 0x0004);  }  static void rt721_sdca_jack_init(struct rt721_sdca_priv *rt721) diff --git a/sound/soc/codecs/rt721-sdca.h b/sound/soc/codecs/rt721-sdca.h index 71fac9cd8739..24ce188562ba 100644 --- a/sound/soc/codecs/rt721-sdca.h +++ b/sound/soc/codecs/rt721-sdca.h @@ -137,6 +137,7 @@ struct rt721_sdca_dmic_kctrl_priv {  #define RT721_HDA_LEGACY_UAJ_CTL		0x02  #define RT721_HDA_LEGACY_CTL1			0x05  #define RT721_HDA_LEGACY_RESET_CTL		0x06 +#define RT721_MISC_CTL				0x07  #define RT721_XU_REL_CTRL			0x0c  #define RT721_GE_REL_CTRL1			0x0d  #define RT721_HDA_LEGACY_GPIO_WAKE_EN_CTL	0x0e  | 
