summaryrefslogtreecommitdiff
path: root/sound/soc/imx/imx-3stack-cs42888.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/imx/imx-3stack-cs42888.c')
-rw-r--r--sound/soc/imx/imx-3stack-cs42888.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-3stack-cs42888.c b/sound/soc/imx/imx-3stack-cs42888.c
index 181dd11a65f7..935a4e544029 100644
--- a/sound/soc/imx/imx-3stack-cs42888.c
+++ b/sound/soc/imx/imx-3stack-cs42888.c
@@ -389,7 +389,7 @@ static int __init imx_3stack_asoc_init(void)
if (0 == ret && snd_soc_card_imx_3stack.codec != NULL)
goto exit;
- platform_device_put(imx_3stack_snd_device);
+ platform_device_unregister(imx_3stack_snd_device);
err_device_alloc:
platform_driver_unregister(&imx_3stack_cs42888_driver);
exit: