Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49dac28a authored by Yeleswarapu Nagaradhesh's avatar Yeleswarapu Nagaradhesh Committed by Simmi Pateriya
Browse files

ASoC: msm8x16-wcd: disable ANC and MAD calibration



Internal codec does not support ANC and MAD features
and hence no need to read calibration data for these
features from userspace.

CRs-Fixed: 774844
Change-Id: I229598a980757fc1964a7882585321455d94d7da
Signed-off-by: default avatarYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
parent 9749653a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -3904,8 +3904,6 @@ static int msm8x16_wcd_codec_probe(struct snd_soc_codec *codec)
		return -ENOMEM;
	}

	set_bit(WCD9XXX_ANC_CAL, msm8x16_wcd_priv->fw_data->cal_bit);
	set_bit(WCD9XXX_MAD_CAL, msm8x16_wcd_priv->fw_data->cal_bit);
	set_bit(WCD9XXX_MBHC_CAL, msm8x16_wcd_priv->fw_data->cal_bit);
	ret = wcd_cal_create_hwdep(msm8x16_wcd_priv->fw_data,
			WCD9XXX_CODEC_HWDEP_NODE, codec);