]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: imx-sgtl5000: set data->card.owner = THIS_MODULE to prevent module from being...
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Nov 2012 06:49:16 +0000 (07:49 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Nov 2012 06:49:16 +0000 (07:49 +0100)
sound/soc/fsl/imx-sgtl5000.c

index 199408ec42612dfe57f63e3933457e901cf7bcfa..3d9b1c427ce912056afdf876f09388d05b1c0e5d 100644 (file)
@@ -162,6 +162,7 @@ static int __devinit imx_sgtl5000_probe(struct platform_device *pdev)
        if (ret)
                goto clk_fail;
        data->card.num_links = 1;
+       data->card.owner = THIS_MODULE;
        data->card.dai_link = &data->dai;
        data->card.dapm_widgets = imx_sgtl5000_dapm_widgets;
        data->card.num_dapm_widgets = ARRAY_SIZE(imx_sgtl5000_dapm_widgets);