Loading asoc/codecs/wcd937x/wcd937x.c +7 −0 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. */ #include <linux/module.h> Loading Loading @@ -188,6 +189,12 @@ static int wcd937x_init_reg(struct snd_soc_component *component) 0xFF, 0xFA); snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_1, 0xFF, 0xFA); snd_soc_component_update_bits(component, WCD937X_MICB1_TEST_CTL_2, 0x38, 0x00); snd_soc_component_update_bits(component, WCD937X_MICB2_TEST_CTL_2, 0x38, 0x00); snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_2, 0x38, 0x00); /* Set Bandgap Fine Adjustment to +5mV for Tanggu SMIC part */ if (snd_soc_component_read32(component, WCD937X_DIGITAL_EFUSE_REG_16) == 0x01) { Loading Loading
asoc/codecs/wcd937x/wcd937x.c +7 −0 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. */ #include <linux/module.h> Loading Loading @@ -188,6 +189,12 @@ static int wcd937x_init_reg(struct snd_soc_component *component) 0xFF, 0xFA); snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_1, 0xFF, 0xFA); snd_soc_component_update_bits(component, WCD937X_MICB1_TEST_CTL_2, 0x38, 0x00); snd_soc_component_update_bits(component, WCD937X_MICB2_TEST_CTL_2, 0x38, 0x00); snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_2, 0x38, 0x00); /* Set Bandgap Fine Adjustment to +5mV for Tanggu SMIC part */ if (snd_soc_component_read32(component, WCD937X_DIGITAL_EFUSE_REG_16) == 0x01) { Loading