Browse Source

Merge "asoc: codecs: stop mbhc before mbhc init and after ssr"

Linux Build Service Account 7 years ago
parent
commit
4460de0faa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      asoc/codecs/wcd934x/wcd934x-mbhc.c

+ 1 - 0
asoc/codecs/wcd934x/wcd934x-mbhc.c

@@ -1043,6 +1043,7 @@ int tavil_mbhc_post_ssr_init(struct wcd934x_mbhc *mbhc,
 		return -EINVAL;
 	}
 
+	tavil_mbhc_hs_detect_exit(codec);
 	wcd_mbhc_deinit(wcd_mbhc);
 	ret = wcd_mbhc_init(wcd_mbhc, codec, &mbhc_cb, &intr_ids,
 			    wcd_mbhc_registers, TAVIL_ZDET_SUPPORTED);