OSDN Git Service

ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable
authorLaxminath Kasam <lkasam@codeaurora.org>
Thu, 16 Mar 2017 07:31:33 +0000 (13:01 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 22 Mar 2017 07:33:07 +0000 (00:33 -0700)
commitf4a76fca6bae86242337f6394b10012a05ec8dff
tree09e6d8923d53b469832dd8856e0bfd0cd8cb4fcd
parentc1ef16be6d3c5606edb7a23398611d010b405aa8
ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable

Without re-init timeout completion of btn_press object
waiting in correct_plug_swch work, if mbhc_deinit and mbhc_start
happens again, it results in crash. In mbhc_deinit,
cancel correct_plug_swch work to handle this.

CRs-Fixed: 2018976
Change-Id: Ic26edea18f5a8554f4dff3bf6ad49ec039493a64
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
sound/soc/codecs/wcd-mbhc-v2.c