diff options
Diffstat (limited to 'sound/soc/codecs/pcm3008.c')
-rw-r--r-- | sound/soc/codecs/pcm3008.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/codecs/pcm3008.c b/sound/soc/codecs/pcm3008.c index 5cda9e6b5a74..2afcd0a8669d 100644 --- a/sound/soc/codecs/pcm3008.c +++ b/sound/soc/codecs/pcm3008.c | |||
@@ -90,13 +90,6 @@ static int pcm3008_soc_probe(struct platform_device *pdev) | |||
90 | goto pcm_err; | 90 | goto pcm_err; |
91 | } | 91 | } |
92 | 92 | ||
93 | /* Register Card. */ | ||
94 | ret = snd_soc_init_card(socdev); | ||
95 | if (ret < 0) { | ||
96 | printk(KERN_ERR "pcm3008: failed to register card\n"); | ||
97 | goto card_err; | ||
98 | } | ||
99 | |||
100 | /* DEM1 DEM0 DE-EMPHASIS_MODE | 93 | /* DEM1 DEM0 DE-EMPHASIS_MODE |
101 | * Low Low De-emphasis 44.1 kHz ON | 94 | * Low Low De-emphasis 44.1 kHz ON |
102 | * Low High De-emphasis OFF | 95 | * Low High De-emphasis OFF |
@@ -136,8 +129,6 @@ static int pcm3008_soc_probe(struct platform_device *pdev) | |||
136 | 129 | ||
137 | gpio_err: | 130 | gpio_err: |
138 | pcm3008_gpio_free(setup); | 131 | pcm3008_gpio_free(setup); |
139 | card_err: | ||
140 | snd_soc_free_pcms(socdev); | ||
141 | pcm_err: | 132 | pcm_err: |
142 | kfree(socdev->card->codec); | 133 | kfree(socdev->card->codec); |
143 | 134 | ||