linux-stable/arch/powerpc/sysdev/qe_lib
Anton Vorontsov 0c7b87b085 powerpc/qe: Make qe_reset() code path safe for repeated invocation
For MPC8569 CPUs we'll need to reset QE after each suspend, so make
qe_reset() code path suitable for repeated invocation, that is:

- Don't initialize rheap structures if already initialized;
- Don't allocate muram for SDMA if already allocated, just reinitialize
  registers with previously allocated muram offset;
- Remove __init attributes from qe_reset() and cpm_muram_init();

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-11-11 21:43:13 -06:00
..
gpio.c powerpc/qe_lib: Set gpio data before changing the direction to output 2009-08-25 21:08:45 -05:00
Kconfig powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE 2008-12-30 12:12:12 -06:00
Makefile powerpc/QE: implement support for the GPIO LIB API 2008-06-10 11:11:10 -05:00
qe.c powerpc/qe: Make qe_reset() code path safe for repeated invocation 2009-11-11 21:43:13 -06:00
qe_ic.c powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
qe_ic.h [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
qe_io.c powerpc/QE: prepare QE PIO code for GPIO LIB support 2008-06-10 10:39:18 -05:00
ucc.c powerpc/qe: Move cmxgcr_lock definition from the ucc.c into the qe.c 2008-12-03 10:47:36 -06:00
ucc_fast.c powerpc: fix memory leaks in QE library 2008-08-20 23:58:12 -05:00
ucc_slow.c powerpc: fix memory leaks in QE library 2008-08-20 23:58:12 -05:00
usb.c powerpc/QE: add support for QE USB clocks routing 2008-06-10 10:39:13 -05:00