管理提醒: 本帖被 qq2440 执行置顶操作(2009-12-07)
这是解决友善之臂提供的2.6.13内核 S3C2440A Camera I/F 中断异常的补丁. 原本的内核中处理Camera I/F中断时将中断号赋错了. 感谢wuji228发现并解决了这个问题
Index: kernel-2.6.13/arch/arm/mach-s3c2410/s3c2440-irq.c
===================================================================
--- kernel-2.6.13.orig/arch/arm/mach-s3c2410/s3c2440-irq.c 2008-12-11 17:31:25.000000000 +0800
+++ kernel-2.6.13/arch/arm/mach-s3c2410/s3c2440-irq.c 2008-12-11 17:31:52.000000000 +0800
@@ -122,11 +122,11 @@
if (subsrc != 0) {
if (subsrc & 1) {
mydesc = irq_desc + IRQ_S3C2440_CAM_C;
- mydesc->handle( IRQ_S3C2440_WDT, mydesc, regs);
+ mydesc->handle( IRQ_S3C2440_CAM_C, mydesc, regs);
}
if (subsrc & 2) {
mydesc = irq_desc + IRQ_S3C2440_CAM_P;
- mydesc->handle(IRQ_S3C2440_AC97, mydesc, regs);
+ mydesc->handle( IRQ_S3C2440_CAM_P, mydesc, regs);
}
}
}