[PATCH 2/3] powerpc/fsl_lbc: Disable UPM interrupt

Aaron Sierra asierra at xes-inc.com
Thu Feb 21 15:49:10 EST 2013


Author: Nate Case <ncase at xes-inc.com>

We aren't doing anything with the UPM event in the localbus interrupt
handler, so there is no point in enabling it.  This interrupt was
being triggered constantly during UPM NAND flash activity.

Signed-off-by: Nate Case <ncase at xes-inc.com>
---
 arch/powerpc/include/asm/fsl_lbc.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h
index 19e0cd2..8971a9f 100644
--- a/arch/powerpc/include/asm/fsl_lbc.h
+++ b/arch/powerpc/include/asm/fsl_lbc.h
@@ -137,7 +137,7 @@ struct fsl_lbc_regs {
 #define LTESR_CLEAR	0xFFFFFFFF
 #define LTECCR_CLEAR	0xFFFFFFFF
 #define LTESR_STATUS	LTESR_MASK
-#define LTEIR_ENABLE	LTESR_MASK
+#define LTEIR_ENABLE	(LTESR_MASK & ~LTESR_UPM)
 #define LTEDR_ENABLE	0x00000000
 	__be32 ltedr;           /**< Transfer Error Disable Register */
 	__be32 lteir;           /**< Transfer Error Interrupt Register */
-- 
1.7.9.5



More information about the linux-mtd mailing list