Re: [PATCH 2/2] pinctrl: cherryview: Save and restore pin configs over system sleep

2015-01-09 Thread Linus Walleij
On Thu, Dec 4, 2014 at 11:32 AM, Mika Westerberg 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

[PATCH 2/2] pinctrl: cherryview: Save and restore pin configs over system sleep

2014-12-04 Thread Mika Westerberg
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 anymor