ASoC: Retrieve machine specific data from digital codec

Analog codec driver is common for sdm660 and msm8953 targets.
Inclusion of asoc_mach_data defined in sdm660 leads to
incorrect data updates in case of msm8953.
Hence retrieve the micbias cap mode settings from the digital
codec driver to access the appropriate asoc_mach_data struct.
Also reset int_mclk0_enable flag in SSR_DOWN event of digital
codec so that flag is updated appropriately.

CRs-Fixed: 2201385
Change-Id: Idd2476c91a57df77c41962d31f643440a3daf67b
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
diff --git a/asoc/codecs/sdm660_cdc/msm-analog-cdc.h b/asoc/codecs/sdm660_cdc/msm-analog-cdc.h
index fe0de89..bf69cd0 100644
--- a/asoc/codecs/sdm660_cdc/msm-analog-cdc.h
+++ b/asoc/codecs/sdm660_cdc/msm-analog-cdc.h
@@ -18,6 +18,7 @@
 #include "../wcd-mbhc-v2.h"
 #include "../wcdcal-hwdep.h"
 #include "sdm660-cdc-registers.h"
+#include "msm-digital-cdc.h"
 
 #define MICBIAS_EXT_BYP_CAP 0x00
 #define MICBIAS_NO_EXT_BYP_CAP 0x01
@@ -219,6 +220,7 @@
 	struct platform_device *pdev_child_devices
 		[ANLG_CDC_CHILD_DEVICES_MAX];
 	int child_count;
+	struct msm_cap_mode cap_mode;
 };
 
 struct sdm660_cdc_pdata {