GPIO/pl061: Add suspend resume capability
authorDeepak Sikri <deepak.sikri@st.com>
Fri, 18 Nov 2011 09:50:12 +0000 (15:20 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 4 Jan 2012 07:37:37 +0000 (00:37 -0700)
commite198a8de14d4bb122b821432fadb28eedd4b4507
tree7e44821222a4a67ce96e39c7b58d9d690336fdf6
parentaedd4fdf69293fc5379129294239b09da2a7c3ec
GPIO/pl061: Add suspend resume capability

This patch adds the suspend and resume operations in the driver. The patch
ensures the data save and restore for the device registers during the
suspend and resume operations respectively.

Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pl061.c