On Thu, Dec 4, 2014 at 11:32 AM, Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> wrote: > Before resuming from system sleep BIOS restores its view of pin > configuration. If we have configured some pins differently from that, for > instance some driver requested a pin as a GPIO but it was not in GPIO mode > originally, our view of the pin configuration will not match the hardware > state anymore. > > This patch saves the pin configuration and interrupt mask registers on > suspend and restores them on exit. This should make sure that the > previously configured state is still in effect. > > Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> Patch applied for 3.20. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html