From: Mark Brown Date: Fri, 5 Jun 2015 17:54:46 +0000 (+0100) Subject: Merge remote-tracking branch 'asoc/topic/rt5645' into asoc-next X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f3b368d3b9a22bb1ddc80808a64ecb7559791e87;p=linux-beck.git Merge remote-tracking branch 'asoc/topic/rt5645' into asoc-next --- f3b368d3b9a22bb1ddc80808a64ecb7559791e87 diff --cc sound/soc/codecs/rt5645.c index 5da29374cd1d,aaede45a2f4b..d5f0f5680d3b --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@@ -2520,12 -3062,10 +3061,10 @@@ static int rt5645_probe(struct snd_soc_ break; } - rt5645_set_bias_level(codec, SND_SOC_BIAS_OFF); + snd_soc_codec_force_bias_level(codec, SND_SOC_BIAS_OFF); - snd_soc_update_bits(codec, RT5645_CHARGE_PUMP, 0x0300, 0x0200); - /* for JD function */ - if (rt5645->pdata.en_jd_func) { + if (rt5645->pdata.jd_mode) { snd_soc_dapm_force_enable_pin(&codec->dapm, "JD Power"); snd_soc_dapm_force_enable_pin(&codec->dapm, "LDO2"); snd_soc_dapm_sync(&codec->dapm);