diff options
author | Hui Wang <hui.wang@canonical.com> | 2024-10-02 05:56:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-02 16:02:18 +0300 |
commit | 47d7d3fd72afc7dcd548806291793ee6f3848215 (patch) | |
tree | ef9457f24897213d93324bdb203aa9088869db47 /drivers/cdx/controller/cdx_controller.c | |
parent | 17d8adc4cd5181c13c1041b197b76efc09eaf8a8 (diff) | |
download | linux-47d7d3fd72afc7dcd548806291793ee6f3848215.tar.xz |
ASoC: imx-card: Set card.owner to avoid a warning calltrace if SND=m
In most Linux distribution kernels, the SND is set to m, in such a
case, when booting the kernel on i.MX8MP EVK board, there is a
warning calltrace like below:
Call trace:
snd_card_init+0x484/0x4cc [snd]
snd_card_new+0x70/0xa8 [snd]
snd_soc_bind_card+0x310/0xbd0 [snd_soc_core]
snd_soc_register_card+0xf0/0x108 [snd_soc_core]
devm_snd_soc_register_card+0x4c/0xa4 [snd_soc_core]
That is because the card.owner is not set, a warning calltrace is
raised in the snd_card_init() due to it.
Fixes: aa736700f42f ("ASoC: imx-card: Add imx-card machine driver")
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://patch.msgid.link/20241002025659.723544-1-hui.wang@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions