asoc: codecs: set boost state to MAX_STATE_2 for WSA8815
WSA8815 requires default boost state of MAX_STATE_2, when speaker protection feature is disabled. Set boost state to MAX_STATE_2 in all cases for WSA8815. Change-Id: Ic700d9a206e94a4cdd1d99f8547bed9df1e759e8 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2015-2018, 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
|
||||
@@ -642,8 +642,8 @@ static const struct tavil_reg_mask_val tavil_spkr_default[] = {
|
||||
{WCD934X_CDC_COMPANDER8_CTL3, 0x80, 0x80},
|
||||
{WCD934X_CDC_COMPANDER7_CTL7, 0x01, 0x01},
|
||||
{WCD934X_CDC_COMPANDER8_CTL7, 0x01, 0x01},
|
||||
{WCD934X_CDC_BOOST0_BOOST_CTL, 0x7C, 0x50},
|
||||
{WCD934X_CDC_BOOST1_BOOST_CTL, 0x7C, 0x50},
|
||||
{WCD934X_CDC_BOOST0_BOOST_CTL, 0x7C, 0x58},
|
||||
{WCD934X_CDC_BOOST1_BOOST_CTL, 0x7C, 0x58},
|
||||
};
|
||||
|
||||
static const struct tavil_reg_mask_val tavil_spkr_mode1[] = {
|
||||
@@ -8700,8 +8700,8 @@ static const struct tavil_reg_mask_val tavil_codec_reg_init_common_val[] = {
|
||||
{WCD934X_CDC_CLSH_K2_MSB, 0x0F, 0x00},
|
||||
{WCD934X_CDC_CLSH_K2_LSB, 0xFF, 0x60},
|
||||
{WCD934X_CPE_SS_DMIC_CFG, 0x80, 0x00},
|
||||
{WCD934X_CDC_BOOST0_BOOST_CTL, 0x70, 0x50},
|
||||
{WCD934X_CDC_BOOST1_BOOST_CTL, 0x70, 0x50},
|
||||
{WCD934X_CDC_BOOST0_BOOST_CTL, 0x70, 0x58},
|
||||
{WCD934X_CDC_BOOST1_BOOST_CTL, 0x70, 0x58},
|
||||
{WCD934X_CDC_RX7_RX_PATH_CFG1, 0x08, 0x08},
|
||||
{WCD934X_CDC_RX8_RX_PATH_CFG1, 0x08, 0x08},
|
||||
{WCD934X_CDC_TOP_TOP_CFG1, 0x02, 0x02},
|
||||
|
Viittaa uudesa ongelmassa
Block a user