aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/soc-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 8af47f7a8fcb..e9f81c551e5e 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1670,9 +1670,6 @@ static int soc_probe_aux_dev(struct snd_soc_card *card, int num)
1670 goto out; 1670 goto out;
1671 1671
1672found: 1672found:
1673 if (!try_module_get(codec->dev->driver->owner))
1674 return -ENODEV;
1675
1676 ret = soc_probe_codec(card, codec); 1673 ret = soc_probe_codec(card, codec);
1677 if (ret < 0) 1674 if (ret < 0)
1678 return ret; 1675 return ret;