Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7
This commit is contained in:
commit
8c0b6e150c
@ -3657,6 +3657,8 @@ static int rt5682_i2c_probe(struct i2c_client *i2c,
|
||||
RT5682_CP_CLK_HP_MASK, RT5682_CP_CLK_HP_300KHZ);
|
||||
regmap_update_bits(rt5682->regmap, RT5682_HP_CHARGE_PUMP_1,
|
||||
RT5682_PM_HP_MASK, RT5682_PM_HP_HV);
|
||||
regmap_update_bits(rt5682->regmap, RT5682_DMIC_CTRL_1,
|
||||
RT5682_FIFO_CLK_DIV_MASK, RT5682_FIFO_CLK_DIV_2);
|
||||
|
||||
INIT_DELAYED_WORK(&rt5682->jack_detect_work,
|
||||
rt5682_jack_detect_handler);
|
||||
|
@ -657,6 +657,8 @@
|
||||
#define RT5682_DMIC_1_EN_SFT 15
|
||||
#define RT5682_DMIC_1_DIS (0x0 << 15)
|
||||
#define RT5682_DMIC_1_EN (0x1 << 15)
|
||||
#define RT5682_FIFO_CLK_DIV_MASK (0x7 << 12)
|
||||
#define RT5682_FIFO_CLK_DIV_2 (0x1 << 12)
|
||||
#define RT5682_DMIC_1_DP_MASK (0x3 << 4)
|
||||
#define RT5682_DMIC_1_DP_SFT 4
|
||||
#define RT5682_DMIC_1_DP_GPIO2 (0x0 << 4)
|
||||
|
@ -493,7 +493,7 @@ static const struct snd_kcontrol_new vsense_switch =
|
||||
1, 1);
|
||||
|
||||
static const struct snd_kcontrol_new tas2562_snd_controls[] = {
|
||||
SOC_SINGLE_TLV("Amp Gain Volume", TAS2562_PB_CFG1, 0, 0x1c, 0,
|
||||
SOC_SINGLE_TLV("Amp Gain Volume", TAS2562_PB_CFG1, 1, 0x1c, 0,
|
||||
tas2562_dac_tlv),
|
||||
{
|
||||
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
||||
|
@ -1108,7 +1108,7 @@ static int wsa881x_probe(struct sdw_slave *pdev,
|
||||
wsa881x->sconfig.type = SDW_STREAM_PDM;
|
||||
pdev->prop.sink_ports = GENMASK(WSA881X_MAX_SWR_PORTS, 0);
|
||||
pdev->prop.sink_dpn_prop = wsa_sink_dpn_prop;
|
||||
gpiod_set_value(wsa881x->sd_n, 1);
|
||||
gpiod_direction_output(wsa881x->sd_n, 1);
|
||||
|
||||
wsa881x->regmap = devm_regmap_init_sdw(pdev, &wsa881x_regmap_config);
|
||||
if (IS_ERR(wsa881x->regmap)) {
|
||||
|
@ -226,9 +226,6 @@ SND_SOC_DAILINK_DEF(be,
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
|
||||
SND_SOC_DAILINK_DEF(ssp0_port,
|
||||
DAILINK_COMP_ARRAY(COMP_CPU("ssp0-port")));
|
||||
#else
|
||||
SND_SOC_DAILINK_DEF(ssp0_port,
|
||||
DAILINK_COMP_ARRAY(COMP_DUMMY()));
|
||||
#endif
|
||||
|
||||
static struct snd_soc_dai_link bdw_rt5650_dais[] = {
|
||||
@ -264,7 +261,11 @@ static struct snd_soc_dai_link bdw_rt5650_dais[] = {
|
||||
.dpcm_playback = 1,
|
||||
.dpcm_capture = 1,
|
||||
.init = bdw_rt5650_init,
|
||||
#if !IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
|
||||
SND_SOC_DAILINK_REG(dummy, be, dummy),
|
||||
#else
|
||||
SND_SOC_DAILINK_REG(ssp0_port, be, platform),
|
||||
#endif
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -298,9 +298,6 @@ SND_SOC_DAILINK_DEF(be,
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
|
||||
SND_SOC_DAILINK_DEF(ssp0_port,
|
||||
DAILINK_COMP_ARRAY(COMP_CPU("ssp0-port")));
|
||||
#else
|
||||
SND_SOC_DAILINK_DEF(ssp0_port,
|
||||
DAILINK_COMP_ARRAY(COMP_DUMMY()));
|
||||
#endif
|
||||
|
||||
/* Wake on voice interface */
|
||||
@ -350,7 +347,11 @@ static struct snd_soc_dai_link bdw_rt5677_dais[] = {
|
||||
.dpcm_playback = 1,
|
||||
.dpcm_capture = 1,
|
||||
.init = bdw_rt5677_init,
|
||||
#if !IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
|
||||
SND_SOC_DAILINK_REG(dummy, be, dummy),
|
||||
#else
|
||||
SND_SOC_DAILINK_REG(ssp0_port, be, platform),
|
||||
#endif
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -167,9 +167,6 @@ SND_SOC_DAILINK_DEF(codec,
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
|
||||
SND_SOC_DAILINK_DEF(ssp0_port,
|
||||
DAILINK_COMP_ARRAY(COMP_CPU("ssp0-port")));
|
||||
#else
|
||||
SND_SOC_DAILINK_DEF(ssp0_port,
|
||||
DAILINK_COMP_ARRAY(COMP_DUMMY()));
|
||||
#endif
|
||||
|
||||
/* broadwell digital audio interface glue - connects codec <--> CPU */
|
||||
@ -226,7 +223,11 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = {
|
||||
.ops = &broadwell_rt286_ops,
|
||||
.dpcm_playback = 1,
|
||||
.dpcm_capture = 1,
|
||||
#if !IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
|
||||
SND_SOC_DAILINK_REG(dummy, codec, dummy),
|
||||
#else
|
||||
SND_SOC_DAILINK_REG(ssp0_port, codec, platform),
|
||||
#endif
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1038,6 +1038,8 @@ static int stm32_spdifrx_probe(struct platform_device *pdev)
|
||||
|
||||
if (idr == SPDIFRX_IPIDR_NUMBER) {
|
||||
ret = regmap_read(spdifrx->regmap, STM32_SPDIFRX_VERR, &ver);
|
||||
if (ret)
|
||||
goto error;
|
||||
|
||||
dev_dbg(&pdev->dev, "SPDIFRX version: %lu.%lu registered\n",
|
||||
FIELD_GET(SPDIFRX_VERR_MAJ_MASK, ver),
|
||||
|
Loading…
Reference in New Issue
Block a user