[PATCH 29/44] staging: nvec: Register with kernel poweroff handler
marvin24 at gmx.de
Wed Oct 8 11:51:10 PDT 2014
Am Montag 06 Oktober 2014, 22:28:31 schrieb Guenter Roeck:
> Register with kernel poweroff handler instead of setting pm_power_off
> directly. Register with default priority value of 128 since we don't know
> any better.
I just tested this change and it seems to break power off. What the driver
does it to queue the power off request and execute it sometime later. The
command is send via i2c to an embedded controller (mfd device) which is
responsible for removing the power.
I haven't analyzed further, but I guess this could be related with the atomic
discussion brought up in some other thread of this patch series.
More information about the linux-arm-kernel