diff options
| author | Hans Verkuil <[email protected]> | 2010-10-11 12:36:37 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2010-10-21 01:18:15 -0200 |
| commit | 9c84d89bf13b702ca0e0db5eb3880300c4bd58f4 (patch) | |
| tree | c0b11f9fe5e386187881d59247a9e274046d7660 /tools/perf/scripts/python | |
| parent | 1cd72781db93c00fbee0bf4aed9e310a1d589738 (diff) | |
[media] radio-mr800: fix locking order
Don't hold the lock before unregistering the device, since when the
device is unregistered the datastruct containing the lock may be freed
(if the refcount went to 0).
Also fixed the framework documentation that erroneously suggested the
wrong locking order as well.
Reported-by: David Ellingsworth <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: David Ellingsworth <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions