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>
This commit is contained in:

کامیت شده توسط
Gerrit - the friendly Code Review server

والد
06ed8063cd
کامیت
75f229237a
@@ -551,6 +551,7 @@ struct wcd_mbhc {
|
||||
wait_queue_head_t wait_btn_press;
|
||||
bool is_btn_press;
|
||||
u8 current_plug;
|
||||
u8 plug_before_ssr;
|
||||
bool in_swch_irq_handler;
|
||||
bool hphl_swh; /*track HPHL switch NC / NO */
|
||||
bool gnd_swh; /*track GND switch NC / NO */
|
||||
|
مرجع در شماره جدید
Block a user