diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-01 06:02:47 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-01 07:01:29 -0400 |
commit | 2f6f0ffb2b073a0a5a9ffe5705b8e8cc43558d3a (patch) | |
tree | 3f47493f06c29088b5bd0fc124f487f9715ed04c /sound/soc/samsung/i2s.c | |
parent | d30c148bb1cab23d3c330e6352b8d882575a0c3a (diff) |
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: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/samsung/i2s.c')
-rw-r--r-- | sound/soc/samsung/i2s.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 973735841a05..849ac0e225ca 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c | |||
@@ -1019,6 +1019,8 @@ static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec) | |||
1019 | if (IS_ERR(i2s->pdev)) | 1019 | if (IS_ERR(i2s->pdev)) |
1020 | return NULL; | 1020 | return NULL; |
1021 | 1021 | ||
1022 | i2s->pdev->dev.parent = &pdev->dev; | ||
1023 | |||
1022 | platform_set_drvdata(i2s->pdev, i2s); | 1024 | platform_set_drvdata(i2s->pdev, i2s); |
1023 | ret = platform_device_add(i2s->pdev); | 1025 | ret = platform_device_add(i2s->pdev); |
1024 | if (ret < 0) | 1026 | if (ret < 0) |