On Thu, 26 Jan 2012 12:27:25 +0100, Laurent Pinchart laurent.pinchart@ideasonboard.com wrote:
Some fields can be set without mutex protection. Initialize them before locking the mutex.
struct mutex lock is described as
/* mutex to serialize list manipulation and other ops */
maybe now is a good time to be a little more descriptive in what that mutex is meant to protect and sprinkle enforcement throughout the code as a means of documentation. -Chris