diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/mediatek/common/mt6359p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/mt6359p.c b/src/soc/mediatek/common/mt6359p.c index de22b3e85d..e2c8e14ca2 100644 --- a/src/soc/mediatek/common/mt6359p.c +++ b/src/soc/mediatek/common/mt6359p.c @@ -316,12 +316,12 @@ u32 mt6359p_get_vsim1_voltage(void) void mt6359p_enable_vpa(bool enable) { - mt6359p_write_field(PMIC_VPA_CON0, !!enable, 0x1, 0); + mt6359p_write_field(PMIC_VPA_CON0, enable, 0x1, 0); } void mt6359p_enable_vsim1(bool enable) { - mt6359p_write_field(PMIC_VSIM1_CON0, !!enable, 0x1, 0); + mt6359p_write_field(PMIC_VSIM1_CON0, enable, 0x1, 0); } static void init_pmif_arb(void) |