linux/sound/soc/fsl
Nicolas Cavallari a8437f0538
ASoC: fsl-asoc-card: Set .owner attribute when registering card.
Otherwise, when compiled as module, a WARN_ON is triggered:

WARNING: CPU: 0 PID: 5 at sound/core/init.c:208 snd_card_new+0x310/0x39c [snd]
[...]
CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.10.39 #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
Workqueue: events deferred_probe_work_func
[<c0111988>] (unwind_backtrace) from [<c010c8ac>] (show_stack+0x10/0x14)
[<c010c8ac>] (show_stack) from [<c092784c>] (dump_stack+0xdc/0x104)
[<c092784c>] (dump_stack) from [<c0129710>] (__warn+0xd8/0x114)
[<c0129710>] (__warn) from [<c0922a48>] (warn_slowpath_fmt+0x5c/0xc4)
[<c0922a48>] (warn_slowpath_fmt) from [<bf0496f8>] (snd_card_new+0x310/0x39c [snd])
[<bf0496f8>] (snd_card_new [snd]) from [<bf1d7df8>] (snd_soc_bind_card+0x334/0x9c4 [snd_soc_core])
[<bf1d7df8>] (snd_soc_bind_card [snd_soc_core]) from [<bf1e9cd8>] (devm_snd_soc_register_card+0x30/0x6c [snd_soc_core])
[<bf1e9cd8>] (devm_snd_soc_register_card [snd_soc_core]) from [<bf22d964>] (fsl_asoc_card_probe+0x550/0xcc8 [snd_soc_fsl_asoc_card])
[<bf22d964>] (fsl_asoc_card_probe [snd_soc_fsl_asoc_card]) from [<c060c930>] (platform_drv_probe+0x48/0x98)
[...]

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20210527163409.22049-1-nicolas.cavallari@green-communications.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-06-01 14:03:00 +01:00
..
efika-audio-fabric.c ASoC: fsl: efika-audio-fabric: use modern dai_link style 2019-06-06 21:41:08 +01:00
eukrea-tlv320.c ASoC: fsl: use asoc_substream_to_rtd() 2020-07-23 19:07:31 +01:00
fsl_asrc_common.h ASoC: fsl_asrc_dma: Fix data copying speed issue with EDMA 2020-06-12 14:18:04 +01:00
fsl_asrc_dma.c ASoC: fsl_asrc_dma: request dma channel from specific controller 2021-03-12 20:48:05 +00:00
fsl_asrc.c ASoC: fsl_asrc: Don't use devm_regmap_init_mmio_clk 2021-03-24 19:49:29 +00:00
fsl_asrc.h ASoC: fsl_asrc: Move common definition to fsl_asrc_common 2020-04-21 16:34:09 +01:00
fsl_aud2htx.c ASoC: fsl: sunxi: remove redundant dev_err call 2021-04-08 15:21:52 +01:00
fsl_aud2htx.h ASoC: fsl_aud2htx: Add aud2htx module driver 2020-11-05 17:06:16 +00:00
fsl_audmix.c ASoC: fsl_audmix: Don't use devm_regmap_init_mmio_clk 2021-03-24 19:49:31 +00:00
fsl_audmix.h ASoC: fsl_audmix: Add spin lock to protect tdms 2019-11-11 13:01:37 +00:00
fsl_dma.c ASoC: fsl: fsl_dma: remove unused variable 2021-03-10 13:06:36 +00:00
fsl_dma.h ASoC: fsl-dma: Switch to SPDX identifier 2019-04-08 13:51:01 +07:00
fsl_easrc.c ASoC: fsl: sunxi: remove redundant dev_err call 2021-04-08 15:21:52 +01:00
fsl_easrc.h ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers 2020-04-21 16:34:11 +01:00
fsl_esai.c ASoC: fsl_esai: Don't use devm_regmap_init_mmio_clk 2021-03-24 19:49:28 +00:00
fsl_esai.h
fsl_micfil.c ASoC: fsl_micfil: Don't use devm_regmap_init_mmio_clk 2021-03-24 19:49:32 +00:00
fsl_micfil.h ASoC: Add MICFIL SoC Digital Audio Interface driver. 2019-01-07 17:00:55 +00:00
fsl_mqs.c ASoC: fsl_mqs: Fix unchecked return value for clk_prepare_enable 2020-06-23 11:14:22 +01:00
fsl_rpmsg.c ASoC: fsl_rpmsg: initialise pointers to NULL 2021-03-29 17:28:16 +01:00
fsl_rpmsg.h ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg 2021-03-25 13:58:07 +00:00
fsl_sai.c ASoC: fsl_sai: Don't use devm_regmap_init_mmio_clk 2021-03-22 12:32:21 +00:00
fsl_sai.h ASoC: fsl_sai: Add pm qos cpu latency support 2021-03-10 13:07:16 +00:00
fsl_spdif.c ASoC: fsl_spdif: Don't use devm_regmap_init_mmio_clk 2021-03-24 19:49:28 +00:00
fsl_spdif.h ASoC: fsl_spdif: Add support for higher sample rates 2020-10-26 18:37:09 +00:00
fsl_ssi_dbg.c ASoC: fsl: fsl_ssi_dbg: remove spurious kernel-doc comment start 2020-07-03 16:09:24 +01:00
fsl_ssi.c ASoC: fsl: fsl_ssi: fix kernel-doc warning 2021-03-10 13:10:42 +00:00
fsl_ssi.h ASoC: fsl: no need to check return value of debugfs_create functions 2019-06-14 16:37:48 +01:00
fsl_utils.c ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style 2019-06-06 21:42:35 +01:00
fsl_utils.h
fsl_xcvr.c ASoC: fsl_xcvr: Use devm_platform_ioremap_resource_byname() to simplify code 2021-03-10 13:13:26 +00:00
fsl_xcvr.h ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver 2020-10-26 15:45:31 +00:00
fsl-asoc-card.c ASoC: fsl-asoc-card: Set .owner attribute when registering card. 2021-06-01 14:03:00 +01:00
imx-audio-rpmsg.c ASoC: imx-audio-rpmsg: Add rpmsg_driver for audio channel 2021-03-25 13:58:09 +00:00
imx-audmix.c ASoC: fsl: imx-audmix: Use devm_kcalloc() instead of devm_kzalloc() 2020-09-25 20:50:39 +01:00
imx-audmux.c ASoC: imx-audmux: Remove unused .id_table 2020-11-23 20:39:50 +00:00
imx-audmux.h
imx-es8328.c ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe() 2020-09-08 15:50:12 +01:00
imx-hdmi.c ASoC: imx-hdmi: fix platform_no_drv_owner.cocci warnings 2021-03-16 13:29:38 +00:00
imx-pcm-dma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
imx-pcm-fiq.c ASoC: fsl: Drop superfluous ioctl PCM ops 2019-12-11 15:56:42 +00:00
imx-pcm-rpmsg.c ASoC: imx-pcm-rpmsg: Add platform driver for audio base on rpmsg 2021-03-25 13:58:10 +00:00
imx-pcm-rpmsg.h ASoC: imx-pcm-rpmsg: Add platform driver for audio base on rpmsg 2021-03-25 13:58:10 +00:00
imx-pcm.h ASoC: imx-pcm: Switch to SPDX identifier 2019-04-08 13:47:44 +07:00
imx-rpmsg.c ASoC: imx-rpmsg: Add machine driver for audio base on rpmsg 2021-03-25 13:58:11 +00:00
imx-sgtl5000.c ASoC: fsl: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:36 +00:00
imx-spdif.c ASoC: fsl: imx-spdif: consider CPU-Platform possibility 2019-06-28 15:12:19 +01:00
imx-ssi.h ASoC: imx-ssi: Switch to SPDX identifier 2019-04-08 13:53:35 +07:00
Kconfig ASoC: fsl: fix SND_SOC_IMX_RPMSG dependency 2021-05-18 14:01:53 +01:00
Makefile ASoC: imx-rpmsg: Add machine driver for audio base on rpmsg 2021-03-25 13:58:11 +00:00
mpc5200_dma.c ASoC: fsl: mpc5200: signed parameter in snprintf format 2021-03-10 13:06:41 +00:00
mpc5200_dma.h
mpc5200_psc_ac97.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
mpc5200_psc_i2s.c ASoC: fsl: use asoc_substream_to_rtd() 2020-07-23 19:07:31 +01:00
mpc8610_hpcd.c ASoC: fsl: mpc8610: remove useless assignment 2021-03-10 13:06:42 +00:00
p1022_ds.c ASoC: fsl: p1022_ds: remove useless assignment 2021-03-10 13:06:43 +00:00
p1022_rdk.c ASoC: fsl: use asoc_substream_to_rtd() 2020-07-23 19:07:31 +01:00
pcm030-audio-fabric.c ASoC: fsl: pcm030-audio-fabric: use modern dai_link style 2019-06-06 21:43:43 +01:00