mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
ASoC: Fixes for v6.16
A few device specific fixes, none especially remarkable though all useful. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmiBFdUACgkQJNaLcl1U h9CrBwf/S9zAmKv9zfCgpgyxN8GEJv4pwj/8NGLjv1FlNetX3gMsGq6Xp58b+9Ry /nPLkKnl3Vgon3QDQCbWNza3wliDDyPFVqqrIsbGrEy3E78UraIKNXIjxlanJkDx emZGfi4C8tCdaBMjaHTNGcxomYsH0TGascDfng5yrtVDi9mityg+zeC0gLBUuR/Z 07qLIakp5iYavHGuxBkY55eHWncperoQpRv3C3efzXlDM/Eu3HcQoRmKX1M3yTx9 mboJ/xfuLDOSf7ZZJeGnoeZToDgvoUcyM8m6R06uj9th3dq6sP3FraFGHe60E+Mq qwbBrtGv/dczbf/LyIBnolqXx1xdfg== =Pl6U -----END PGP SIGNATURE----- Merge tag 'asoc-fix-v6.16-rc7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Fixes for v6.16 A few device specific fixes, none especially remarkable though all useful.
This commit is contained in:
commit
0d57ed922b
@ -82,6 +82,7 @@ static const struct reg_sequence rt5650_init_list[] = {
|
|||||||
{0xf6, 0x0100},
|
{0xf6, 0x0100},
|
||||||
{RT5645_PWR_ANLG1, 0x02},
|
{RT5645_PWR_ANLG1, 0x02},
|
||||||
{RT5645_IL_CMD3, 0x6728},
|
{RT5645_IL_CMD3, 0x6728},
|
||||||
|
{RT5645_PR_BASE + 0x3a, 0x0000},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct reg_default rt5645_reg[] = {
|
static const struct reg_default rt5645_reg[] = {
|
||||||
|
@ -262,9 +262,13 @@ int mtk_soundcard_common_probe(struct platform_device *pdev)
|
|||||||
soc_card_data->accdet = accdet_comp;
|
soc_card_data->accdet = accdet_comp;
|
||||||
else
|
else
|
||||||
dev_err(&pdev->dev, "No sound component found from mediatek,accdet property\n");
|
dev_err(&pdev->dev, "No sound component found from mediatek,accdet property\n");
|
||||||
|
|
||||||
|
put_device(&accdet_pdev->dev);
|
||||||
} else {
|
} else {
|
||||||
dev_err(&pdev->dev, "No device found from mediatek,accdet property\n");
|
dev_err(&pdev->dev, "No device found from mediatek,accdet property\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
of_node_put(accdet_node);
|
||||||
}
|
}
|
||||||
|
|
||||||
platform_node = of_parse_phandle(pdev->dev.of_node, "mediatek,platform", 0);
|
platform_node = of_parse_phandle(pdev->dev.of_node, "mediatek,platform", 0);
|
||||||
|
@ -812,11 +812,10 @@ static const struct snd_soc_dapm_route mtk_dai_i2s_routes[] = {
|
|||||||
static int mt8365_dai_i2s_set_priv(struct mtk_base_afe *afe)
|
static int mt8365_dai_i2s_set_priv(struct mtk_base_afe *afe)
|
||||||
{
|
{
|
||||||
int i, ret;
|
int i, ret;
|
||||||
struct mt8365_afe_private *afe_priv = afe->platform_priv;
|
|
||||||
|
|
||||||
for (i = 0; i < DAI_I2S_NUM; i++) {
|
for (i = 0; i < DAI_I2S_NUM; i++) {
|
||||||
ret = mt8365_dai_set_priv(afe, mt8365_i2s_priv[i].id,
|
ret = mt8365_dai_set_priv(afe, mt8365_i2s_priv[i].id,
|
||||||
sizeof(*afe_priv),
|
sizeof(mt8365_i2s_priv[i]),
|
||||||
&mt8365_i2s_priv[i]);
|
&mt8365_i2s_priv[i]);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -211,7 +211,7 @@ static int find_sdca_init_table(struct device *dev,
|
|||||||
} else if (num_init_writes % sizeof(*raw) != 0) {
|
} else if (num_init_writes % sizeof(*raw) != 0) {
|
||||||
dev_err(dev, "%pfwP: init table size invalid\n", function_node);
|
dev_err(dev, "%pfwP: init table size invalid\n", function_node);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
} else if (num_init_writes > SDCA_MAX_INIT_COUNT) {
|
} else if ((num_init_writes / sizeof(*raw)) > SDCA_MAX_INIT_COUNT) {
|
||||||
dev_err(dev, "%pfwP: maximum init table size exceeded\n", function_node);
|
dev_err(dev, "%pfwP: maximum init table size exceeded\n", function_node);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
@ -117,6 +117,7 @@ const struct sof_intel_dsp_desc ptl_chip_info = {
|
|||||||
.read_sdw_lcount = hda_sdw_check_lcount_ext,
|
.read_sdw_lcount = hda_sdw_check_lcount_ext,
|
||||||
.check_sdw_irq = lnl_dsp_check_sdw_irq,
|
.check_sdw_irq = lnl_dsp_check_sdw_irq,
|
||||||
.check_sdw_wakeen_irq = lnl_sdw_check_wakeen_irq,
|
.check_sdw_wakeen_irq = lnl_sdw_check_wakeen_irq,
|
||||||
|
.sdw_process_wakeen = hda_sdw_process_wakeen_common,
|
||||||
.check_ipc_irq = mtl_dsp_check_ipc_irq,
|
.check_ipc_irq = mtl_dsp_check_ipc_irq,
|
||||||
.check_mic_privacy_irq = sof_ptl_check_mic_privacy_irq,
|
.check_mic_privacy_irq = sof_ptl_check_mic_privacy_irq,
|
||||||
.process_mic_privacy = sof_ptl_process_mic_privacy,
|
.process_mic_privacy = sof_ptl_process_mic_privacy,
|
||||||
|
Loading…
Reference in New Issue
Block a user