diff options
-rw-r--r-- | board/poppy/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/poppy/board.c b/board/poppy/board.c index 73c7dff866..62fd27f2be 100644 --- a/board/poppy/board.c +++ b/board/poppy/board.c @@ -915,6 +915,9 @@ const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); static void board_chipset_resume(void) { gpio_set_level(GPIO_ENABLE_BACKLIGHT, 1); +#ifdef POPPY_REV0 + gpio_set_level(GPIO_PP3300_DX_CAM, 1); +#endif } DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT); @@ -922,6 +925,9 @@ DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT); static void board_chipset_suspend(void) { gpio_set_level(GPIO_ENABLE_BACKLIGHT, 0); +#ifdef POPPY_REV0 + gpio_set_level(GPIO_PP3300_DX_CAM, 0); +#endif } DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, board_chipset_suspend, HOOK_PRIO_DEFAULT); |