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

Commit baaf1e5b authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge b14cb98d on remote branch

Change-Id: I800a99f412f1bc440083446758bc5b79ff7b935e
parents 53d9b647 b14cb98d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5392,7 +5392,6 @@ static struct snd_soc_dai_link msm_rx_tx_cdc_dma_be_dai_links[] = {
		.ignore_suspend = 1,
		.ops = &msm_cdc_dma_be_ops,
		SND_SOC_DAILINK_REG(rx_dma_rx0),
		.init = &msm_int_audrx_init,
	},
	{
		.name = LPASS_BE_RX_CDC_DMA_RX_1,
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, 2021, The Linux Foundation. All rights reserved.
 */

#include <linux/regmap.h>
@@ -461,4 +461,5 @@ struct regmap_config wcd937x_regmap_config = {
	.writeable_reg = wcd937x_writeable_register,
	.volatile_reg = wcd937x_volatile_register,
	.can_multi_write = true,
	.use_single_read = true,
};
+16 −0
Original line number Diff line number Diff line
@@ -1055,6 +1055,22 @@ static int wcd937x_codec_enable_ear_pa(struct snd_soc_dapm_widget *w,
			snd_soc_component_update_bits(component,
					WCD937X_DIGITAL_PDM_WD_CTL0,
					0x17, 0x00);
		usleep_range(10000, 10010);
		/* disable EAR CnP FSM */
		snd_soc_component_update_bits(component,
					WCD937X_EAR_EAR_EN_REG,
					0x02, 0x00);
		/* toggle EAR PA to let PA control registers take effect */
		snd_soc_component_update_bits(component,
					WCD937X_ANA_EAR,
					0x80, 0x80);
		snd_soc_component_update_bits(component,
					WCD937X_ANA_EAR,
					0x80, 0x00);
		/* enable EAR CnP FSM */
		snd_soc_component_update_bits(component,
					WCD937X_EAR_EAR_EN_REG,
					0x02, 0x02);
		break;
	};
	return ret;
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, 2021, The Linux Foundation. All rights reserved.
 */

#include <linux/regmap.h>
@@ -512,4 +512,5 @@ struct regmap_config wcd938x_regmap_config = {
	.writeable_reg = wcd938x_writeable_register,
	.volatile_reg = wcd938x_volatile_register,
	.can_multi_write = true,
	.use_single_read = true,
};
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2015-2016, 2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 2019, 2021, The Linux Foundation. All rights reserved.
 */

#include <linux/regmap.h>
@@ -400,4 +400,5 @@ struct regmap_config wsa883x_regmap_config = {
	.reg_format_endian = REGMAP_ENDIAN_NATIVE,
	.val_format_endian = REGMAP_ENDIAN_NATIVE,
	.can_multi_write = true,
	.use_single_read = true,
};
Loading