diff options
author | Robert Jarzmik <[email protected]> | 2012-03-22 21:00:53 +0100 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2012-03-27 01:03:27 +0100 |
commit | 7b0e67f604e1829e5292e1ad7743eb18dc42ea7c (patch) | |
tree | 48cb065f253ed6552e8e5805bba7647eb25a8ad7 /arch/sparc/kernel | |
parent | 1b15a5f93bbd9a6f5346cfa449720a7e32115f86 (diff) |
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 <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'arch/sparc/kernel')
0 files changed, 0 insertions, 0 deletions