Message ID | 1421243782-26115-1-git-send-email-festevam@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 0984f3410089a773e408a0a76f719df109436cf1 |
Headers | show |
On Wed, Jan 14, 2015 at 11:56:22AM -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@freescale.com> > > The following crash happens when trying to unload the snd_soc_imx_wm8962 module > while playback is active: Applied, thanks.
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c index 4caacb0..cd146d4 100644 --- a/sound/soc/fsl/imx-wm8962.c +++ b/sound/soc/fsl/imx-wm8962.c @@ -257,6 +257,7 @@ static int imx_wm8962_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_wm8962_dapm_widgets; data->card.num_dapm_widgets = ARRAY_SIZE(imx_wm8962_dapm_widgets);