[PATCH] Staging: quatech_usb2: Convert eos semaphore to mutex
Alessio Igor Bogani
abogani at texware.it
Sat May 15 22:08:30 UTC 2010
Hi Oliver,
2010/5/15 Oliver Neukum <oliver at neukum.org>:
> Am Samstag, 15. Mai 2010 23:40:02 schrieb Alessio Igor Bogani:
>> The eos semaphore is used as a mutex so replace it with a real mutex.
>
> Documentation/mutex-design.txt states that a mutex must not be used
> from within an interrupt handler. Is this outdated?
You are right. Simply I didn't see irqreturn_t return type in function
prototype.
Sorry for my mistake.
Ciao,
Alessio
More information about the devel
mailing list