mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 23:23:53 +02:00
mfd: RK808: update the "pm_power_off" initalization conditons
Only the powerofff callback feature is supported through the rockchip,system-power-controller. Change-Id: I55e73c05a749edab6c3710e304ee86c03812ab6f Signed-off-by: Shengfei xu <xsf@rock-chips.com>
This commit is contained in:
parent
32a1a6180d
commit
b2c0fb3a3c
|
|
@ -382,7 +382,7 @@ static int rk808_probe(struct i2c_client *client,
|
|||
|
||||
pm_off = of_property_read_bool(np,
|
||||
"rockchip,system-power-controller");
|
||||
if (pm_off && !pm_power_off) {
|
||||
if (pm_off) {
|
||||
rk808_i2c_client = client;
|
||||
pm_power_off = rk808_device_shutdown;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user