Re: [PATCH V2] thermal: imx: correct suspend/resume flow

From: Shawn Guo
Date: Wed Jan 01 2014 - 21:17:30 EST


On Thu, Jan 02, 2014 at 10:01:51AM +0800, Zhang Rui wrote:
> On Tue, 2013-12-24 at 09:43 -0500, Anson Huang wrote:
> > Fixes regression introduced by:
> >
> > commit 37713a1e8e4c1a1067ad4c99296f78d3c82ed9c4
> > Author: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
> > Date: Thu Aug 1 18:33:12 2013 +0200
> >
> > thermal: imx: implement thermal alarm interrupt handling
> >
> > The commit 37713a1e8e4 makes imx thermal sensor always powered up as alarm
> > function is enabled, but the suspend callback of imx thermal returns
> > success only if thermal sensor is powered down, so it will always returns
> > fail hence break system's suspend, this patch disables imx thermal sensor
> > before suspend and re-enable it after resume.
> >
> > Signed-off-by: Anson Huang <b20788@xxxxxxxxxxxxx>
>
> applied. BTW, this should also be a stable material for 3.12, right?

Right. That would be great. Thanks.

Shawn

--
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/