From: Josh Boyer Date: Mon, 27 Jun 2011 07:39:07 +0000 (+0800) Subject: crypto: crypto4xx - Perform read/modify/write on device control register X-Git-Tag: v3.1-rc1~266^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5697462ae94693764e468b701c616bbbd6f951c;p=pandora-kernel.git crypto: crypto4xx - Perform read/modify/write on device control register The Security function on the AMCC SoCs has multiple engines within a single MMIO range. The crypto driver currently enables the 3DES functionality by doing a blind write to the device control register. This can unintentionally disable other functions like the PKA or TRNG when the driver is loaded. Perform a read/modify/write to enable the 3DES function instead. Signed-off-by: Josh Boyer Signed-off-by: Herbert Xu --- Reading git-diff-tree failed