[PATCH] kill mutex in lis

Werner Almesberger werner at openmoko.org
Fri Oct 10 18:57:47 CEST 2008

Andy Green wrote:
> Workqueue function is based on scheduler / interrupt itself, it won't
> happen in a context where interrupts are disabled.

You still have a wait_for_completion in spi_sync, so that
approach doesn't work :-(

How bad was the workqueue really ? It's certainly wasteful,
but if we consider that all the data goes up to userspace
eagerly consuming every event anyway, it may not matter all
that much in the big picture.

- Werner

More information about the openmoko-kernel mailing list