Merge remote-tracking branch 'asoc/fix/rcar' into asoc-linus
This commit is contained in:
Коммит
1ef6f346c6
|
@ -479,10 +479,10 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (req_rate[0] % 48000 == 0)
|
if (req_rate[0] % 48000 == 0)
|
||||||
adg->flags = AUDIO_OUT_48;
|
adg->flags |= AUDIO_OUT_48;
|
||||||
|
|
||||||
if (of_get_property(np, "clkout-lr-asynchronous", NULL))
|
if (of_get_property(np, "clkout-lr-asynchronous", NULL))
|
||||||
adg->flags = LRCLK_ASYNC;
|
adg->flags |= LRCLK_ASYNC;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This driver is assuming that AUDIO_CLKA/AUDIO_CLKB/AUDIO_CLKC
|
* This driver is assuming that AUDIO_CLKA/AUDIO_CLKB/AUDIO_CLKC
|
||||||
|
|
|
@ -1112,6 +1112,9 @@ int rsnd_ssi_probe(struct rsnd_priv *priv)
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
for_each_child_of_node(node, np) {
|
for_each_child_of_node(node, np) {
|
||||||
|
if (!of_device_is_available(np))
|
||||||
|
goto skip;
|
||||||
|
|
||||||
ssi = rsnd_ssi_get(priv, i);
|
ssi = rsnd_ssi_get(priv, i);
|
||||||
|
|
||||||
snprintf(name, RSND_SSI_NAME_SIZE, "%s.%d",
|
snprintf(name, RSND_SSI_NAME_SIZE, "%s.%d",
|
||||||
|
@ -1148,7 +1151,7 @@ int rsnd_ssi_probe(struct rsnd_priv *priv)
|
||||||
of_node_put(np);
|
of_node_put(np);
|
||||||
goto rsnd_ssi_probe_done;
|
goto rsnd_ssi_probe_done;
|
||||||
}
|
}
|
||||||
|
skip:
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче