diff options
-rw-r--r-- | sound/soc/generic/simple-card.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index fcb431fe20b4..d1b7293c133e 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c | |||
@@ -501,6 +501,9 @@ static int asoc_simple_card_probe(struct platform_device *pdev) | |||
501 | priv->snd_card.dai_link = dai_link; | 501 | priv->snd_card.dai_link = dai_link; |
502 | priv->snd_card.num_links = num_links; | 502 | priv->snd_card.num_links = num_links; |
503 | 503 | ||
504 | priv->gpio_hp_det = -ENOENT; | ||
505 | priv->gpio_mic_det = -ENOENT; | ||
506 | |||
504 | /* Get room for the other properties */ | 507 | /* Get room for the other properties */ |
505 | priv->dai_props = devm_kzalloc(dev, | 508 | priv->dai_props = devm_kzalloc(dev, |
506 | sizeof(*priv->dai_props) * num_links, | 509 | sizeof(*priv->dai_props) * num_links, |