ASoC: codecs: fix inconsistency of boost state register value

Use hardware default value for boost state in regmap.
Use correct mask for initial value of boost state.

Change-Id: Ia8b707ba0128662d47059d25325693bc8eaff723
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
This commit is contained in:
Xiaojun Sang
2018-06-01 11:15:31 +08:00
committed by Gerrit - the friendly Code Review server
parent 253f1479c8
commit e0c3f3f39d
6 changed files with 12 additions and 12 deletions

View File

@@ -1213,11 +1213,11 @@ static const struct reg_default wcd9335_defaults[] = {
{ WCD9335_CDC_CLSH_TEST1, 0x00 },
{ WCD9335_CDC_CLSH_OVR_VREF, 0x00 },
{ WCD9335_CDC_BOOST0_BOOST_PATH_CTL, 0x00 },
{ WCD9335_CDC_BOOST0_BOOST_CTL, 0xba },
{ WCD9335_CDC_BOOST0_BOOST_CTL, 0xb2 },
{ WCD9335_CDC_BOOST0_BOOST_CFG1, 0x00 },
{ WCD9335_CDC_BOOST0_BOOST_CFG2, 0x00 },
{ WCD9335_CDC_BOOST1_BOOST_PATH_CTL, 0x00 },
{ WCD9335_CDC_BOOST1_BOOST_CTL, 0xba },
{ WCD9335_CDC_BOOST1_BOOST_CTL, 0xb2 },
{ WCD9335_CDC_BOOST1_BOOST_CFG1, 0x00 },
{ WCD9335_CDC_BOOST1_BOOST_CFG2, 0x00 },
{ WCD9335_SWR_AHB_BRIDGE_WR_DATA_0, 0x00 },