On 25/09/11 13:49, Mauro Carvalho Chehab wrote:
Ok, I've applied it, but it doesn't sound a good idea to me to do: + mutex_unlock(&dev->lock); em28xx_init_extension(dev); + mutex_lock(&dev->lock); I'll later test it with some hardware and see how well this behaves in practice.
No, I don't like it either. But since a kernel mutex isn't recursive, I can't think of a better solution at the moment.
Cheers, Chris -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html