[PATCH] set-the-eint-configuration-correctly.patch

Andy Green andy at openmoko.com
Fri Nov 28 14:04:26 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Fix the eint type configuration for s3c64xx.

diff --git a/arch/arm/plat-s3c64xx/irq-eint.c
b/arch/arm/plat-s3c64xx/irq-eint.c
index 24c5e89..87a43a0 100644
- --- a/arch/arm/plat-s3c64xx/irq-eint.c
+++ b/arch/arm/plat-s3c64xx/irq-eint.c
@@ -82,7 +82,7 @@ static int s3c_irq_eint_set_type(unsigned int irq,
unsigned int type)
~ 	if (offs > 27)
~ 		return -EINVAL;

- -	if (offs > 15)
+	if (offs < 15)
~ 		reg = S3C64XX_EINT0CON0;
~ 	else
~ 		reg = S3C64XX_EINT0CON1;

Another nice find... sent it on to this new "pending-tracking" branch
because I guess Ben will be interested in it.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkv7FoACgkQOjLpvpq7dMqzMgCeKZk0VM42vi8zKUrgb/oFpL2G
+gAAnjJyPxMfIkR0u8F8/+yc/b2KlJ4r
=96I7
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list