[alsa-devel] [PATCH 2/2] ASoC: Intel: rt5645_set_jack_detect is changed

Bard Liao bardliao at realtek.com
Mon Apr 20 04:37:22 CEST 2015


rt5645_set_jack_detect is changed, so we need to modify the code
which is using rt5645_set_jack_detect.

Signed-off-by: Bard Liao <bardliao at realtek.com>
---
 sound/soc/intel/cht_bsw_rt5645.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/cht_bsw_rt5645.c b/sound/soc/intel/cht_bsw_rt5645.c
index bd29617..3d0b549 100644
--- a/sound/soc/intel/cht_bsw_rt5645.c
+++ b/sound/soc/intel/cht_bsw_rt5645.c
@@ -185,7 +185,7 @@ static int cht_codec_init(struct snd_soc_pcm_runtime *runtime)
 		return ret;
 	}
 
-	rt5645_set_jack_detect(codec, &ctx->hp_jack, &ctx->mic_jack);
+	rt5645_set_jack_detect(codec, &ctx->hp_jack, &ctx->mic_jack, NULL);
 
 	return ret;
 }
-- 
1.8.1.1.439.g50a6b54



More information about the Alsa-devel mailing list