From: Robert Jarzmik Date: Thu, 22 Mar 2012 20:00:53 +0000 (+0100) Subject: mtd: docg3 add protection against concurrency X-Git-Tag: v3.4-rc1~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b0e67f604e1829e5292e1ad7743eb18dc42ea7c;p=pandora-kernel.git mtd: docg3 add protection against concurrency As docg3 is intolerant against reentrancy, especially because of its weird register access (ie. a register read is performed by a first register write), each access to the docg3 IO space must be locked. Lock the IO space with a mutex, shared by all chips on the same cascade, as they all share the same IO space. Signed-off-by: Robert Jarzmik Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed