Commit b9005c8d authored by Nick Chung's avatar Nick Chung
Browse files

Add SIMPLE_DEV_PM_OPS in LWIS



Add the SIMPLE_DEV_PM_OPS callback into
the lwis_i2c_device. This change is major to
avoid the drivers(Flash) being cutting off while
the device into the suspension mode(deep sleep).

The suspend callback provide that we can just return
the error code, so the devices are in use not into the hibernation.

Device Tree -
Add the following term to peripheral devices for
supporting enable/disable power manamgement hibernation mode.

pm-hibernation = <0>; /* 1 : enable, 0 : disable */

Bug: 178892122
Test: Flashlight, Camera checklist
Signed-off-by: default avatarNick Chung <nickchung@google.com>
Change-Id: I833f8c60033b876c7dc7593e4111bc80674dd309
parent bb8c2c05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment