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

Commit 39ead2c1 authored by Vatsal Bucha's avatar Vatsal Bucha Committed by Meng Wang
Browse files

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: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent c2d6c22d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
}
+9 −9
Original line number Diff line number Diff line
// 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++) {