diff options
Diffstat (limited to 'sound/soc/codecs/tlv320dac33.c')
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index 3ca8934fc26c..bff476d65d05 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -960,16 +960,8 @@ static int dac33_soc_probe(struct platform_device *pdev) | |||
960 | /* power on device */ | 960 | /* power on device */ |
961 | dac33_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 961 | dac33_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
962 | 962 | ||
963 | ret = snd_soc_init_card(socdev); | ||
964 | if (ret < 0) { | ||
965 | dev_err(codec->dev, "failed to register card\n"); | ||
966 | goto card_err; | ||
967 | } | ||
968 | |||
969 | return 0; | 963 | return 0; |
970 | card_err: | 964 | |
971 | snd_soc_free_pcms(socdev); | ||
972 | snd_soc_dapm_free(socdev); | ||
973 | pcm_err: | 965 | pcm_err: |
974 | dac33_hard_power(codec, 0); | 966 | dac33_hard_power(codec, 0); |
975 | return ret; | 967 | return ret; |