ASoC: wcd-mbhc: Resolve warning log when mutex destroy before unlock
Resolve warning log when hph pa mutex lock is destroyed before unlock. Initialize hph pa locks as global lock and do not destroy during SSR to resolve issue. Change-Id: Idc5af793294f7fdc8dbcc17770f68fe2c46ab337 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
671d354cf5
commit
bb1b149345
@@ -609,8 +609,6 @@ struct wcd_mbhc {
|
||||
struct wcd_mbhc_register *wcd_mbhc_regs;
|
||||
|
||||
struct completion btn_press_compl;
|
||||
struct mutex hphl_pa_lock;
|
||||
struct mutex hphr_pa_lock;
|
||||
bool deinit_in_progress;
|
||||
|
||||
/* Holds mbhc detection method - ADC/Legacy */
|
||||
|
Reference in New Issue
Block a user