aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/max98095.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/codecs/max98095.c b/sound/soc/codecs/max98095.c
index 0ee6797d5083..42103cafeb24 100644
--- a/sound/soc/codecs/max98095.c
+++ b/sound/soc/codecs/max98095.c
@@ -2317,9 +2317,6 @@ static int max98095_probe(struct snd_soc_codec *codec)
2317 2317
2318 snd_soc_write(codec, M98095_097_PWR_SYS, M98095_PWRSV); 2318 snd_soc_write(codec, M98095_097_PWR_SYS, M98095_PWRSV);
2319 2319
2320 /* initialize registers cache to hardware default */
2321 max98095_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
2322
2323 snd_soc_write(codec, M98095_048_MIX_DAC_LR, 2320 snd_soc_write(codec, M98095_048_MIX_DAC_LR,
2324 M98095_DAI1L_TO_DACL|M98095_DAI1R_TO_DACR); 2321 M98095_DAI1L_TO_DACL|M98095_DAI1R_TO_DACR);
2325 2322
@@ -2359,8 +2356,6 @@ static int max98095_remove(struct snd_soc_codec *codec)
2359 struct max98095_priv *max98095 = snd_soc_codec_get_drvdata(codec); 2356 struct max98095_priv *max98095 = snd_soc_codec_get_drvdata(codec);
2360 struct i2c_client *client = to_i2c_client(codec->dev); 2357 struct i2c_client *client = to_i2c_client(codec->dev);
2361 2358
2362 max98095_set_bias_level(codec, SND_SOC_BIAS_OFF);
2363
2364 if (max98095->headphone_jack || max98095->mic_jack) 2359 if (max98095->headphone_jack || max98095->mic_jack)
2365 max98095_jack_detect_disable(codec); 2360 max98095_jack_detect_disable(codec);
2366 2361