The reason for setting GPIO_MODE_DISPAUD_SYS_PWR_REG to 0 is
to make GPIO state to a specific value when powering down DISPAUD.
The default value of GPIO_MODE_DISPAUD_SYS_PWR_REG is 0,
so there is no need to set it.
Change-Id: I20832cfdaba9a2f04b0844f77e61b086b756b849
Signed-off-by: ShinHyung <s47.kang@samsung.com>
static void abox_pad_retention(bool retention)
{
if (retention) {
-#ifndef EMULATOR
- exynos_pmu_update(GPIO_MODE_ABOX_SYS_PWR_REG, 0x1, 0x1);
-#else
- update_mask_value(pmu_alive + GPIO_MODE_ABOX_SYS_PWR_REG,
- 0x1, 0x1);
-#endif
+ pr_debug("%s:Do not need\n", __func__);
} else {
#ifndef EMULATOR
exynos_pmu_update(PAD_RETENTION_ABOX_OPTION,
0x10000000, 0x10000000);
- exynos_pmu_update(GPIO_MODE_ABOX_SYS_PWR_REG, 0x1, 0x1);
#else
update_mask_value(pmu_alive + PAD_RETENTION_ABOX_OPTION,
0x10000000, 0x10000000);
- update_mask_value(pmu_alive + GPIO_MODE_ABOX_SYS_PWR_REG,
- 0x1, 0x1);
#endif
}
}