ASoC: WCD9310: Use new ANC firmware file format
The new ANC file format allows calibration for multiple
headsets to be present in the same file. The "ANC Slot"
control selects which slot in the file to use for
calibration.
Signed-off-by: Brad Rubin <brubin@codeaurora.org>
diff --git a/sound/soc/codecs/wcd9310.h b/sound/soc/codecs/wcd9310.h
index 38f07ff..38383e0 100644
--- a/sound/soc/codecs/wcd9310.h
+++ b/sound/soc/codecs/wcd9310.h
@@ -47,3 +47,8 @@
extern int tabla_hs_detect(struct snd_soc_codec *codec,
struct snd_soc_jack *headset_jack, struct snd_soc_jack *button_jack,
struct tabla_mbhc_calibration *calibration);
+
+struct anc_header {
+ u32 reserved[3];
+ u32 num_anc_slots;
+};