diff options
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index bdb2ca9da58b..bd183a7ed696 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -1879,6 +1879,7 @@ static int soc_probe(struct platform_device *pdev) | |||
1879 | INIT_LIST_HEAD(&card->dai_dev_list); | 1879 | INIT_LIST_HEAD(&card->dai_dev_list); |
1880 | INIT_LIST_HEAD(&card->codec_dev_list); | 1880 | INIT_LIST_HEAD(&card->codec_dev_list); |
1881 | INIT_LIST_HEAD(&card->platform_dev_list); | 1881 | INIT_LIST_HEAD(&card->platform_dev_list); |
1882 | INIT_LIST_HEAD(&card->widgets); | ||
1882 | INIT_LIST_HEAD(&card->paths); | 1883 | INIT_LIST_HEAD(&card->paths); |
1883 | 1884 | ||
1884 | soc_init_card_debugfs(card); | 1885 | soc_init_card_debugfs(card); |
@@ -3481,7 +3482,6 @@ int snd_soc_register_codec(struct device *dev, | |||
3481 | else | 3482 | else |
3482 | codec->compress_type = SND_SOC_FLAT_COMPRESSION; | 3483 | codec->compress_type = SND_SOC_FLAT_COMPRESSION; |
3483 | 3484 | ||
3484 | INIT_LIST_HEAD(&codec->dapm.widgets); | ||
3485 | codec->write = codec_drv->write; | 3485 | codec->write = codec_drv->write; |
3486 | codec->read = codec_drv->read; | 3486 | codec->read = codec_drv->read; |
3487 | codec->dapm.bias_level = SND_SOC_BIAS_OFF; | 3487 | codec->dapm.bias_level = SND_SOC_BIAS_OFF; |