Skip to content

Commit e8e472d

Browse files
committed
Merge tag 'asoc-fix-v6.14-rc7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.14 A couple of small fixes, plus some new device IDs - nothing super urgent here.
2 parents 78f4ca3 + 45ff65e commit e8e472d

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

Documentation/devicetree/bindings/sound/fsl,sai.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ properties:
4141
- fsl,imx93-sai
4242
- fsl,imx95-sai
4343
- fsl,vf610-sai
44+
- items:
45+
- enum:
46+
- fsl,imx94-sai
47+
- const: fsl,imx95-sai
4448

4549
reg:
4650
maxItems: 1

sound/soc/amd/yc/acp6x-mach.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
584584
DMI_MATCH(DMI_PRODUCT_VERSION, "pang13"),
585585
}
586586
},
587+
{
588+
.driver_data = &acp6x_card,
589+
.matches = {
590+
DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
591+
DMI_MATCH(DMI_PRODUCT_NAME, "Bravo 15 C7UCX"),
592+
}
593+
},
587594
{}
588595
};
589596

sound/soc/generic/simple-card-utils.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,14 +1077,15 @@ static int graph_get_dai_id(struct device_node *ep)
10771077
int graph_util_parse_dai(struct device *dev, struct device_node *ep,
10781078
struct snd_soc_dai_link_component *dlc, int *is_single_link)
10791079
{
1080+
struct device_node *node;
10801081
struct of_phandle_args args = {};
10811082
struct snd_soc_dai *dai;
10821083
int ret;
10831084

10841085
if (!ep)
10851086
return 0;
10861087

1087-
struct device_node *node __free(device_node) = of_graph_get_port_parent(ep);
1088+
node = of_graph_get_port_parent(ep);
10881089

10891090
/*
10901091
* Try to find from DAI node
@@ -1126,8 +1127,10 @@ int graph_util_parse_dai(struct device *dev, struct device_node *ep,
11261127
* if he unbinded CPU or Codec.
11271128
*/
11281129
ret = snd_soc_get_dlc(&args, dlc);
1129-
if (ret < 0)
1130+
if (ret < 0) {
1131+
of_node_put(node);
11301132
return ret;
1133+
}
11311134

11321135
parse_dai_end:
11331136
if (is_single_link)

sound/soc/ti/j721e-evm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ static int j721e_configure_refclk(struct j721e_priv *priv,
182182
clk_id = J721E_CLK_PARENT_48000;
183183
else if (!(rate % 11025) && priv->pll_rates[J721E_CLK_PARENT_44100])
184184
clk_id = J721E_CLK_PARENT_44100;
185+
else if (!(rate % 11025) && priv->pll_rates[J721E_CLK_PARENT_48000])
186+
clk_id = J721E_CLK_PARENT_48000;
185187
else
186188
return ret;
187189

0 commit comments

Comments
 (0)