[PATCH] gta02-accel-isr-fix-more.patch

Andy Green andy at openmoko.com
Sat Aug 23 19:16:47 CEST 2008


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

Somebody in the thread at some point said:
| Even better, but I still can get lockups. It might have something to do
| with writing to
|
|     /sys/devices/platform/spi_s3c24xx_gpio.1/spi0.0/full_scale -> 9.2
|     /sys/devices/platform/spi_s3c24xx_gpio.1/spi0.1/full_scale -> 9.2
|
| while the device is already open.

Guh... yes they are protecting against themselves but not against the
interrupt traffic which is bitbanged in the ISR.  Linux SPI won't work
with interrupts off either IIRC.  So it needs bitbang all the way, baby.

Great day for cleaning up that driver!

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

iEYEARECAAYFAkiwRf4ACgkQOjLpvpq7dMo36wCfb84QB7oO2zBTJSr9NH0khSmI
RUYAn3MGPr5wtohNVoKYktgu2j5aCB5I
=9Dwj
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list