Loading sound/soc/codecs/wcd-mbhc-v2.c +2 −0 Original line number Diff line number Diff line Loading @@ -1795,6 +1795,7 @@ static int wcd_mbhc_initialise(struct wcd_mbhc *mbhc) struct snd_soc_codec *codec = mbhc->codec; pr_debug("%s: enter\n", __func__); WCD_MBHC_RSC_LOCK(mbhc); /* Bring the digital block out of reset */ snd_soc_update_bits(codec, MSM8X16_WCD_A_DIGITAL_CDC_RST_CTL, 0x80, 0x80); Loading Loading @@ -1826,6 +1827,7 @@ static int wcd_mbhc_initialise(struct wcd_mbhc *mbhc) wcd9xxx_spmi_enable_irq(mbhc->intr_ids->mbhc_btn_release_intr); wcd9xxx_spmi_enable_irq(mbhc->intr_ids->hph_left_ocp); wcd9xxx_spmi_enable_irq(mbhc->intr_ids->hph_right_ocp); WCD_MBHC_RSC_UNLOCK(mbhc); pr_debug("%s: leave\n", __func__); return ret; } Loading Loading
sound/soc/codecs/wcd-mbhc-v2.c +2 −0 Original line number Diff line number Diff line Loading @@ -1795,6 +1795,7 @@ static int wcd_mbhc_initialise(struct wcd_mbhc *mbhc) struct snd_soc_codec *codec = mbhc->codec; pr_debug("%s: enter\n", __func__); WCD_MBHC_RSC_LOCK(mbhc); /* Bring the digital block out of reset */ snd_soc_update_bits(codec, MSM8X16_WCD_A_DIGITAL_CDC_RST_CTL, 0x80, 0x80); Loading Loading @@ -1826,6 +1827,7 @@ static int wcd_mbhc_initialise(struct wcd_mbhc *mbhc) wcd9xxx_spmi_enable_irq(mbhc->intr_ids->mbhc_btn_release_intr); wcd9xxx_spmi_enable_irq(mbhc->intr_ids->hph_left_ocp); wcd9xxx_spmi_enable_irq(mbhc->intr_ids->hph_right_ocp); WCD_MBHC_RSC_UNLOCK(mbhc); pr_debug("%s: leave\n", __func__); return ret; } Loading