From: Anton Vorontsov Date: Tue, 15 Sep 2009 21:43:52 +0000 (+0400) Subject: powerpc/qe: Make qe_reset() code path safe for repeated invocation X-Git-Tag: v2.6.33-rc1~293^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7b87b0857f0e17be982fd840046444a83c3996;p=pandora-kernel.git 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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed