asoc: codecs: stop mbhc before mbhc init and after ssr
In SSR init call stop mbhc before initializing mbhc again, so that usbc analog deregisters the callback with PMI notifier. CRs-fixed: 2128532 Change-Id: I329f25172b5cc2d80b93918787f703d89c95062f Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Этот коммит содержится в:

коммит произвёл
Gerrit - the friendly Code Review server

родитель
50a527cf07
Коммит
776b1b32c2
@@ -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);
|
||||
|
Ссылка в новой задаче
Block a user