diff options
-rw-r--r-- | sound/soc/samsung/i2s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 2c4d2505a19e..a5cbdb4f1655 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c | |||
@@ -1068,7 +1068,7 @@ static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec) | |||
1068 | dev_set_drvdata(&i2s->pdev->dev, i2s); | 1068 | dev_set_drvdata(&i2s->pdev->dev, i2s); |
1069 | } else { /* Create a new platform_device for Secondary */ | 1069 | } else { /* Create a new platform_device for Secondary */ |
1070 | i2s->pdev = platform_device_alloc("samsung-i2s-sec", -1); | 1070 | i2s->pdev = platform_device_alloc("samsung-i2s-sec", -1); |
1071 | if (IS_ERR(i2s->pdev)) | 1071 | if (!i2s->pdev) |
1072 | return NULL; | 1072 | return NULL; |
1073 | 1073 | ||
1074 | i2s->pdev->dev.parent = &pdev->dev; | 1074 | i2s->pdev->dev.parent = &pdev->dev; |