Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f6f0ffb authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: samsung: Make secondary I2S DAI device a child of primary



More for neatness than for any great utility. Really we shouldn't be
creating the child device at all, refactoring will follow.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent d30c148b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1019,6 +1019,8 @@ static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec)
		if (IS_ERR(i2s->pdev))
			return NULL;

		i2s->pdev->dev.parent = &pdev->dev;

		platform_set_drvdata(i2s->pdev, i2s);
		ret = platform_device_add(i2s->pdev);
		if (ret < 0)