“6803b882542d93a22a5f6991efb7d17019903bfc”上不存在“develop/doc/mobile/index_en.html”
提交 b16eaf9f 编写于 作者: A Axel Lin 提交者: Mark Brown

ASoC: tegra: Add .owner to struct snd_soc_card

Missed .owner of struct snd_soc_card will prevent the module from being
removed from underneath its users.
Reported-by: NLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 a76a7023
...@@ -141,6 +141,7 @@ static struct snd_soc_dai_link tegra_alc5632_dai = { ...@@ -141,6 +141,7 @@ static struct snd_soc_dai_link tegra_alc5632_dai = {
static struct snd_soc_card snd_soc_tegra_alc5632 = { static struct snd_soc_card snd_soc_tegra_alc5632 = {
.name = "tegra-alc5632", .name = "tegra-alc5632",
.owner = THIS_MODULE,
.dai_link = &tegra_alc5632_dai, .dai_link = &tegra_alc5632_dai,
.num_links = 1, .num_links = 1,
.controls = tegra_alc5632_controls, .controls = tegra_alc5632_controls,
......
...@@ -363,6 +363,7 @@ static struct snd_soc_dai_link tegra_wm8903_dai = { ...@@ -363,6 +363,7 @@ static struct snd_soc_dai_link tegra_wm8903_dai = {
static struct snd_soc_card snd_soc_tegra_wm8903 = { static struct snd_soc_card snd_soc_tegra_wm8903 = {
.name = "tegra-wm8903", .name = "tegra-wm8903",
.owner = THIS_MODULE,
.dai_link = &tegra_wm8903_dai, .dai_link = &tegra_wm8903_dai,
.num_links = 1, .num_links = 1,
......
...@@ -127,6 +127,7 @@ static struct snd_soc_dai_link trimslice_tlv320aic23_dai = { ...@@ -127,6 +127,7 @@ static struct snd_soc_dai_link trimslice_tlv320aic23_dai = {
static struct snd_soc_card snd_soc_trimslice = { static struct snd_soc_card snd_soc_trimslice = {
.name = "tegra-trimslice", .name = "tegra-trimslice",
.owner = THIS_MODULE,
.dai_link = &trimslice_tlv320aic23_dai, .dai_link = &trimslice_tlv320aic23_dai,
.num_links = 1, .num_links = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册