diff options
Diffstat (limited to 'sound/soc/omap/omap-hdmi.c')
-rw-r--r-- | sound/soc/omap/omap-hdmi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c index ced3b88b44d4..537a1ec8ad61 100644 --- a/sound/soc/omap/omap-hdmi.c +++ b/sound/soc/omap/omap-hdmi.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <video/omapdss.h> | 36 | #include <video/omapdss.h> |
37 | 37 | ||
38 | #include "omap-hdmi.h" | 38 | #include "omap-hdmi.h" |
39 | #include "omap-pcm.h" | ||
39 | 40 | ||
40 | #define DRV_NAME "omap-hdmi-audio-dai" | 41 | #define DRV_NAME "omap-hdmi-audio-dai" |
41 | 42 | ||
@@ -324,7 +325,10 @@ static int omap_hdmi_probe(struct platform_device *pdev) | |||
324 | ret = snd_soc_register_component(&pdev->dev, &omap_hdmi_component, | 325 | ret = snd_soc_register_component(&pdev->dev, &omap_hdmi_component, |
325 | &omap_hdmi_dai, 1); | 326 | &omap_hdmi_dai, 1); |
326 | 327 | ||
327 | return ret; | 328 | if (ret) |
329 | return ret; | ||
330 | |||
331 | return omap_pcm_platform_register(&pdev->dev); | ||
328 | } | 332 | } |
329 | 333 | ||
330 | static int omap_hdmi_remove(struct platform_device *pdev) | 334 | static int omap_hdmi_remove(struct platform_device *pdev) |