commit | 43ffcd9a042858a9e9f9fe014bb073e55db34c67 | [log] [tgz] |
---|---|---|
author | Kevin Hilman <khilman@deeprootsystems.com> | Tue Jan 27 11:09:24 2009 -0800 |
committer | Kevin Hilman <khilman@deeprootsystems.com> | Wed May 12 09:39:16 2010 -0700 |
tree | e6e2ecc3d9af3c398e97ecd8c3007d5db1228a79 | |
parent | 699117a69f53efbdf8fddbd6d991575c0a22fd74 [diff] |
OMAP2/3: GPIO: generalize prepare for idle Currently, the GPIO 'prepare' hook is only called when going to off-mode, while the function is called 'prepare_for_retention.' This patch renames the function to 'prepare_for_idle' and calls it for any powersate != PWRDM_POWER_ON passing in the powerstate. The hook itself is then responsible for doing various preparation based on the powerstate. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>