diff options
-rw-r--r-- | sound/soc/au1x/dbdma2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c index 2ca33b09a867..19e4d37eba1c 100644 --- a/sound/soc/au1x/dbdma2.c +++ b/sound/soc/au1x/dbdma2.c | |||
@@ -480,6 +480,7 @@ struct platform_device *au1xpsc_pcm_add(struct platform_device *pdev) | |||
480 | if (!ret) | 480 | if (!ret) |
481 | return pd; | 481 | return pd; |
482 | 482 | ||
483 | platform_device_put(pd); | ||
483 | out: | 484 | out: |
484 | kfree(res); | 485 | kfree(res); |
485 | return NULL; | 486 | return NULL; |