From: Will Deacon Date: Thu, 15 Nov 2012 21:28:43 +0000 (+0000) Subject: ARM: cti: fix manipulation of debug lock registers X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f600b9fcd2bcb8ee0adb235f54ccdd93c729c442;p=pandora-kernel.git ARM: cti: fix manipulation of debug lock registers The LOCKSTATUS register for memory-mapped coresight devices indicates whether or not the device in question implements hardware locking. If not, locking is not present (i.e. LSR.SLI == 0) and LAR is write-ignore, so software doesn't actually need to check the status register at all. This patch removes the broken LSR checks. Cc: Ming Lei Reported-by: Mike Williams Signed-off-by: Will Deacon --- Reading git-diff-tree failed