From: Yilu Mao Date: Mon, 3 Sep 2012 08:14:56 +0000 (+0100) Subject: ARM: 7507/1: cache-l2x0.c: save the final aux ctrl value for resuming X-Git-Tag: omap-for-v3.7-rc1/fixes-hwmod-clock-signed-v3~1^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d4876f039a086eeb599a8fac684c9a8daa64ab1;p=pandora-kernel.git ARM: 7507/1: cache-l2x0.c: save the final aux ctrl value for resuming There is a bug if l2x0 controller has been enabled when calling l2x0_init, the aux ctrl register will not be saved in l2x0_saved_regs. Therefore we will use uninitialized l2x0_saved_regs.aux_ctrl for resuming later. In this patch, the aux ctrl value is read and saved after it is initialized. So we have the real value being set for resuming. Link: http://lkml.kernel.org/r/1336046857-24133-1-git-send-email-ylmao@marvell.com Signed-off-by: Yilu Mao Acked-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed