diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 10:12:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 16:01:22 -0800 |
commit | 0ca3a017a7373a4545dd7b345a8a0cecc16bc7e2 (patch) | |
tree | a739bfb8ddd0c7fcfdcd40ab6fcd990570c716bf /drivers/mtd | |
parent | ef69bb2ec6036945da1d3d3f07b75253f484f693 (diff) | |
download | blackbird-op-linux-0ca3a017a7373a4545dd7b345a8a0cecc16bc7e2.tar.gz blackbird-op-linux-0ca3a017a7373a4545dd7b345a8a0cecc16bc7e2.zip |
CAPI: Rework locking of controller data structures
This patch applies the mutex so far only protecting the controller list
to (almost) all accesses of controller data structures. It also reworks
waiting on state changes in old_capi_manufacturer so that it no longer
poll and holds a module reference to the controller owner while waiting
(the latter was partly done already). Modification and checking of the
blocked state remains racy by design, the caller is responsible for
dealing with this.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions