Hi Roland,

> Using struct semaphore to implement a mutex is deprecated in modern kernels
> now that we have a real struct mutex.  Here is a patch that coverts
> uvcvideo to use struct mutex (and also renames various things from "lock"
> to "mutex", since I think "lock" makes most kernel hackers think of a
> spinlock that can't be held while sleeping).  This should help get uvcvideo
> closer to being
> mergable upstream.
>
> Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>

Thanks for the patch. It has been applied with a small modification (calls to 
mutex_lock and mutex_unlock were mixed in a single place).

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to