Unverified Commit e29fe437 authored by Mark Brown's avatar Mark Brown
Browse files

Merge branch 'asoc-5.0' into asoc-5.1 for dapm table

parents 47306401 c16e1201
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6154,7 +6154,7 @@ FREESCALE SOC SOUND DRIVERS
M:	Timur Tabi <timur@kernel.org>
M:	Nicolin Chen <nicoleotsuka@gmail.com>
M:	Xiubo Li <Xiubo.Lee@gmail.com>
R:	Fabio Estevam <fabio.estevam@nxp.com>
R:	Fabio Estevam <festevam@gmail.com>
L:	alsa-devel@alsa-project.org (moderated for non-subscribers)
L:	linuxppc-dev@lists.ozlabs.org
S:	Maintained
@@ -10901,7 +10901,7 @@ F: include/linux/nvmem-consumer.h
F:	include/linux/nvmem-provider.h

NXP SGTL5000 DRIVER
M:	Fabio Estevam <fabio.estevam@nxp.com>
M:	Fabio Estevam <festevam@gmail.com>
L:	alsa-devel@alsa-project.org (moderated for non-subscribers)
S:	Maintained
F:	Documentation/devicetree/bindings/sound/sgtl5000.txt
+2 −2
Original line number Diff line number Diff line
@@ -795,6 +795,8 @@ static int hdmi_codec_probe(struct platform_device *pdev)
	if (hcd->spdif)
		hcp->daidrv[i] = hdmi_spdif_dai;

	dev_set_drvdata(dev, hcp);

	ret = devm_snd_soc_register_component(dev, &hdmi_driver, hcp->daidrv,
				     dai_count);
	if (ret) {
@@ -802,8 +804,6 @@ static int hdmi_codec_probe(struct platform_device *pdev)
			__func__, ret);
		return ret;
	}

	dev_set_drvdata(dev, hcp);
	return 0;
}

+2 −0
Original line number Diff line number Diff line
@@ -1784,7 +1784,9 @@ static const struct snd_soc_dapm_route rt5682_dapm_routes[] = {
	{"ADC Stereo1 Filter", NULL, "ADC STO1 ASRC", is_using_asrc},
	{"DAC Stereo1 Filter", NULL, "DAC STO1 ASRC", is_using_asrc},
	{"ADC STO1 ASRC", NULL, "AD ASRC"},
	{"ADC STO1 ASRC", NULL, "DA ASRC"},
	{"ADC STO1 ASRC", NULL, "CLKDET"},
	{"DAC STO1 ASRC", NULL, "AD ASRC"},
	{"DAC STO1 ASRC", NULL, "DA ASRC"},
	{"DAC STO1 ASRC", NULL, "CLKDET"},

+4 −4
Original line number Diff line number Diff line
@@ -1524,14 +1524,14 @@ int rsnd_kctrl_new(struct rsnd_mod *mod,
	int ret;

	/*
	 * 1) Avoid duplicate register (ex. MIXer case)
	 * 2) re-register if card was rebinded
	 * 1) Avoid duplicate register for DVC with MIX case
	 * 2) Allow duplicate register for MIX
	 * 3) re-register if card was rebinded
	 */
	list_for_each_entry(kctrl, &card->controls, list) {
		struct rsnd_kctrl_cfg *c = kctrl->private_data;

		if (strcmp(kctrl->id.name, name) == 0 &&
		    c->mod == mod)
		if (c == cfg)
			return 0;
	}

+7 −2
Original line number Diff line number Diff line
@@ -742,12 +742,17 @@ static struct snd_soc_component *soc_find_component(
	const struct device_node *of_node, const char *name)
{
	struct snd_soc_component *component;
	struct device_node *component_of_node;

	lockdep_assert_held(&client_mutex);

	for_each_component(component) {
		if (of_node) {
			if (component->dev->of_node == of_node)
			component_of_node = component->dev->of_node;
			if (!component_of_node && component->dev->parent)
				component_of_node = component->dev->parent->of_node;

			if (component_of_node == of_node)
				return component;
		} else if (name && strcmp(component->name, name) == 0) {
			return component;
@@ -960,7 +965,7 @@ static void soc_remove_dai(struct snd_soc_dai *dai, int order)
{
	int err;

	if (!dai || !dai->probed ||
	if (!dai || !dai->probed || !dai->driver ||
	    dai->driver->remove_order != order)
		return;

Loading