irqchip: s3c24xx: fix comments on some camera interrupts
authorHeiko Stuebner <heiko@sntech.de>
Thu, 4 Apr 2013 05:53:37 +0000 (14:53 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 4 Apr 2013 05:55:55 +0000 (14:55 +0900)
Might be confusing for people to read the code without having the
datasheet nearby.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/irqchip/irq-s3c24xx.c

index 5c9f8b7a1fd64b2d0b41f6aba0fbe76fed7d9aa7..84afbc16fcc304b0b0268ac31e6eff0d85d79e09 100644 (file)
@@ -916,8 +916,8 @@ static struct s3c_irq_data init_s3c2440subint[32] = {
        { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
        { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
        { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
-       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* TC */
-       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* ADC */
+       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
+       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
        { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* WDT */
        { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* AC97 */
 };
@@ -991,8 +991,8 @@ static struct s3c_irq_data init_s3c2442subint[32] = {
        { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
        { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
        { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
-       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* TC */
-       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* ADC */
+       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
+       { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
 };
 
 void __init s3c2442_init_irq(void)