ASoC: codecs: handle device disconnect during SSR
During SSR, when usbc analog device is disconnected, the respective disconnect interrupt is not handled and hence userspace is not notified. When ADSP recovers, fsa driver sends a disconnect notification. So handle device disconnect and notify jack/userspace through this notification. Change-Id: Ic695c2267c9289f9528d50202938ec09f634de8a Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
此提交包含在:

提交者
Gerrit - the friendly Code Review server

父節點
06ed8063cd
當前提交
75f229237a
@@ -2061,6 +2061,8 @@ static int wcd938x_event_notify(struct notifier_block *block,
|
||||
case BOLERO_WCD_EVT_SSR_DOWN:
|
||||
wcd938x->dev_up = false;
|
||||
wcd938x->mbhc->wcd_mbhc.deinit_in_progress = true;
|
||||
wcd938x->mbhc->wcd_mbhc.plug_before_ssr =
|
||||
wcd938x->mbhc->wcd_mbhc.current_plug;
|
||||
mbhc = &wcd938x->mbhc->wcd_mbhc;
|
||||
wcd938x->usbc_hs_status = get_usbc_hs_status(component,
|
||||
mbhc->mbhc_cfg);
|
||||
|
新增問題並參考
封鎖使用者