diff options
| -rw-r--r-- | sound/soc/fsl/pcm030-audio-fabric.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/pcm030-audio-fabric.c b/sound/soc/fsl/pcm030-audio-fabric.c index 25f27ec1dd6..ba4d85e317e 100644 --- a/sound/soc/fsl/pcm030-audio-fabric.c +++ b/sound/soc/fsl/pcm030-audio-fabric.c | |||
| @@ -76,6 +76,7 @@ static __init int pcm030_fabric_init(void) | |||
| 76 | rc = platform_device_add(pdev); | 76 | rc = platform_device_add(pdev); |
| 77 | if (rc) { | 77 | if (rc) { |
| 78 | pr_err("pcm030_fabric_init: platform_device_add() failed\n"); | 78 | pr_err("pcm030_fabric_init: platform_device_add() failed\n"); |
| 79 | platform_device_put(pdev); | ||
| 79 | return -ENODEV; | 80 | return -ENODEV; |
| 80 | } | 81 | } |
| 81 | return 0; | 82 | return 0; |
