Re: [PATCH 29/44] staging: nvec: Register with kernel poweroff handler

From: Marc Dietrich
Date: Wed Oct 08 2014 - 14:52:08 EST


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.

Marc

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/