fsl_law clear enable before changing.
authorEd Swarthout <Ed.Swarthout@freescale.com>
Thu, 9 Oct 2008 06:25:55 +0000 (01:25 -0500)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Oct 2008 19:54:05 +0000 (21:54 +0200)
commite1f7d22b8b52fc08c4d17a6a7db1e664281aed63
tree9c8b56bde4899cabe7bc87661f4a9de6b0b6911e
parent86be510f7b5443e7e937f696bfbe037fdc740b15
fsl_law clear enable before changing.

Debug sessions may have left enabled laws.
Changing lawbar with an unkown enabled tgtid could cause problems.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
drivers/misc/fsl_law.c