ASoC: bolero: Remove unwanted logs at bootup

Correct name of widgets for tx macro from
TX SWR_MIC to TX SWR_DMIC. Also assign codec pointer
to rx_priv before calling rx_macro_init_bcl_pmic_reg.

Change-Id: I268d79413c53bcd2d8e7a391859b71b7a7e3f64e
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
Vatsal Bucha
2018-12-14 12:22:46 +05:30
committed by Meng Wang
parent c2d6c22d1d
commit 39ead2c1e8
2 changed files with 10 additions and 11 deletions

View File

@@ -3384,9 +3384,8 @@ static int rx_macro_init(struct snd_soc_component *component)
snd_soc_component_update_bits(component, BOLERO_CDC_RX_RX2_RX_PATH_CFG3,
0x03, 0x02);
rx_macro_init_bcl_pmic_reg(component);
rx_priv->component = component;
rx_macro_init_bcl_pmic_reg(component);
return 0;
}

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/module.h>
@@ -1563,14 +1563,14 @@ static int tx_macro_init(struct snd_soc_component *component)
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_ADC1");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_ADC2");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_ADC3");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC0");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC1");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC2");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC3");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC4");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC5");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC6");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_MIC7");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC0");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC1");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC2");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC3");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC4");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC5");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC6");
snd_soc_dapm_ignore_suspend(dapm, "TX SWR_DMIC7");
snd_soc_dapm_sync(dapm);
for (i = 0; i < NUM_DECIMATORS; i++) {