[RFC PATCH v3] ARM: imx: Add basic imx6q thermal management
Rob Lee
rob.lee at linaro.org
Wed Jan 18 06:40:02 EST 2012
> + /* In the rarest of cases, order matters here - resume goes first */
> + th_zone->therm_dev->device.class->resume = imx6q_thermal_resume;
> + th_zone->therm_dev->device.class->suspend = imx6q_thermal_suspend;
On second thought, I should have barrier between these two statements
to guarantee order. I think mb() would be ok.
More information about the linux-arm-kernel
mailing list