diff options
| author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-09-15 17:43:54 -0400 |
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2009-11-11 22:43:15 -0500 |
| commit | 46d2293470c18c1bb632083bf0b589deff30ccae (patch) | |
| tree | f0f0382c718138e4d2852ff0b753d96b380d4be6 /arch/powerpc/sysdev/qe_lib | |
| parent | 0c7b87b0857f0e17be982fd840046444a83c3996 (diff) | |
powerpc/qe: QE also shuts down on MPC8568
It appears that QE shuts down on all MPC85xx CPUs (i.e. MPC8568 and
MPC8569) and thus needs reset upon resume.
So modify qe_alive_during_sleep() to account that.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/qe_lib')
| -rw-r--r-- | arch/powerpc/sysdev/qe_lib/qe.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c index 1ed1a9fd9bcf..4eaf2a962914 100644 --- a/arch/powerpc/sysdev/qe_lib/qe.c +++ b/arch/powerpc/sysdev/qe_lib/qe.c | |||
| @@ -65,19 +65,6 @@ static unsigned int qe_num_of_snum; | |||
| 65 | 65 | ||
| 66 | static phys_addr_t qebase = -1; | 66 | static phys_addr_t qebase = -1; |
| 67 | 67 | ||
| 68 | int qe_alive_during_sleep(void) | ||
| 69 | { | ||
| 70 | static int ret = -1; | ||
| 71 | |||
| 72 | if (ret != -1) | ||
| 73 | return ret; | ||
| 74 | |||
| 75 | ret = !of_find_compatible_node(NULL, NULL, "fsl,mpc8569-pmc"); | ||
| 76 | |||
| 77 | return ret; | ||
| 78 | } | ||
| 79 | EXPORT_SYMBOL(qe_alive_during_sleep); | ||
| 80 | |||
| 81 | phys_addr_t get_qe_base(void) | 68 | phys_addr_t get_qe_base(void) |
| 82 | { | 69 | { |
| 83 | struct device_node *qe; | 70 | struct device_node *qe; |
