diff options
-rw-r--r-- | sound/soc/codecs/wm5102.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c index 5a1eb5b62fb5..760df353540d 100644 --- a/sound/soc/codecs/wm5102.c +++ b/sound/soc/codecs/wm5102.c | |||
@@ -1459,7 +1459,7 @@ static int __devinit wm5102_probe(struct platform_device *pdev) | |||
1459 | { | 1459 | { |
1460 | struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); | 1460 | struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); |
1461 | struct wm5102_priv *wm5102; | 1461 | struct wm5102_priv *wm5102; |
1462 | int i; | 1462 | int i, ret; |
1463 | 1463 | ||
1464 | wm5102 = devm_kzalloc(&pdev->dev, sizeof(struct wm5102_priv), | 1464 | wm5102 = devm_kzalloc(&pdev->dev, sizeof(struct wm5102_priv), |
1465 | GFP_KERNEL); | 1465 | GFP_KERNEL); |
@@ -1478,6 +1478,10 @@ static int __devinit wm5102_probe(struct platform_device *pdev) | |||
1478 | wm5102->core.adsp[0].mem = wm5102_dsp1_regions; | 1478 | wm5102->core.adsp[0].mem = wm5102_dsp1_regions; |
1479 | wm5102->core.adsp[0].num_mems = ARRAY_SIZE(wm5102_dsp1_regions); | 1479 | wm5102->core.adsp[0].num_mems = ARRAY_SIZE(wm5102_dsp1_regions); |
1480 | 1480 | ||
1481 | ret = wm_adsp2_init(&wm5102->core.adsp[0], true); | ||
1482 | if (ret != 0) | ||
1483 | return ret; | ||
1484 | |||
1481 | for (i = 0; i < ARRAY_SIZE(wm5102->fll); i++) | 1485 | for (i = 0; i < ARRAY_SIZE(wm5102->fll); i++) |
1482 | wm5102->fll[i].vco_mult = 1; | 1486 | wm5102->fll[i].vco_mult = 1; |
1483 | 1487 | ||