From: Doug Anderson Date: Wed, 20 May 2015 20:34:08 +0000 (-0700) Subject: ARM: rockchip: restore dapswjdp after suspend X-Git-Tag: omap-for-v4.3/fixes-merge-window~8^2~22^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33939403112791866da6b64875385fa1b7d9865a;p=pandora-kernel.git ARM: rockchip: restore dapswjdp after suspend In the commit (0ea001d ARM: rockchip: disable dapswjdp during suspend) we made the assumption that we didn't need to restore dapswjdp after suspend because "the MASKROM will enable it back". It turns out that's not a safe assumption. In some cases (pending interrupts) it's possible that the WFI might act as a no-op and the MaskROM will never run. Since we're changing the bit, we should restore it ourselves. Signed-off-by: Doug Anderson Reviewed-by: Chris Zhong Signed-off-by: Heiko Stuebner --- Reading git-diff-tree failed