mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
soc: rockchip: system_monitor: add ebc blank/unblank notifier
Signed-off-by: Zorro Liu <lyx@rock-chips.com> Change-Id: I317a8b545d53fd1af960cdbd84d271eaa9451d12
This commit is contained in:
@@ -1494,6 +1494,12 @@ static int rockchip_eink_devfs_notifier(struct notifier_block *nb,
|
||||
case EBC_OFF:
|
||||
rockchip_set_system_status(SYS_STATUS_LOW_POWER);
|
||||
break;
|
||||
case EBC_FB_BLANK:
|
||||
rockchip_set_system_status(SYS_STATUS_SUSPEND);
|
||||
break;
|
||||
case EBC_FB_UNBLANK:
|
||||
rockchip_clear_system_status(SYS_STATUS_SUSPEND);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user