Re: [PATCH] hwmon: applesmc: restore keyboard backlight on resume

From: Andrew Morton
Date: Mon Aug 24 2009 - 17:08:28 EST


On Sat, 22 Aug 2009 23:33:52 +0200
"Henrik Rydberg" <rydberg@xxxxxxxxxxx> wrote:

> On resume from suspend, the driver currently resets the logical
> state as if it was brought up from halt. This patch uses the
> dev_pm_ops.resume method to synchronize the hardware with the
> memorized logical state, bringing back the backlight to the level
> prior to suspend.

What are the runtime effects of this change?
--
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/