ASoC: wcd937x: Add fix to enable button detection

Add notifier call chain to enable button detection.

Change-Id: Ibd432691e4b820b8b2e86ebc8e8c2015bb26d2b1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
Vatsal Bucha
2018-09-04 14:57:50 +05:30
parent c523b34cc0
commit 302075bb10
4 changed files with 41 additions and 26 deletions

View File

@@ -17,7 +17,6 @@ struct wcd937x_mbhc {
struct wcd_mbhc wcd_mbhc;
struct blocking_notifier_head notifier;
struct fw_info *fw_data;
bool mbhc_started;
};
#if IS_ENABLED(CONFIG_SND_SOC_WCD937X)