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:
Xiaojun Sang
2018-02-12 19:03:02 +08:00
parent 9cb7bc20c7
commit 09cd2ac5e9
6 changed files with 24 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
* Copyright (c) 2016-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
@@ -1248,11 +1248,11 @@ static const struct reg_default wcd934x_defaults[] = {
{ WCD934X_CDC_CLSH_TEST1, 0x00 },
{ WCD934X_CDC_CLSH_OVR_VREF, 0x00 },
{ WCD934X_CDC_BOOST0_BOOST_PATH_CTL, 0x00 },
{ WCD934X_CDC_BOOST0_BOOST_CTL, 0xb2 },
{ WCD934X_CDC_BOOST0_BOOST_CTL, 0xba },
{ WCD934X_CDC_BOOST0_BOOST_CFG1, 0x00 },
{ WCD934X_CDC_BOOST0_BOOST_CFG2, 0x00 },
{ WCD934X_CDC_BOOST1_BOOST_PATH_CTL, 0x00 },
{ WCD934X_CDC_BOOST1_BOOST_CTL, 0xb2 },
{ WCD934X_CDC_BOOST1_BOOST_CTL, 0xba },
{ WCD934X_CDC_BOOST1_BOOST_CFG1, 0x00 },
{ WCD934X_CDC_BOOST1_BOOST_CFG2, 0x00 },
{ WCD934X_CDC_VBAT_VBAT_PATH_CTL, 0x00 },