intel_extreme: only primary accelerant should kill the locks. Should fix trouble after closing clones.
This commit is contained in:
parent
7aa5574713
commit
66af68c2e6
@ -551,13 +551,12 @@ intel_uninit_accelerant(void)
|
||||
delete_area(gInfo->mode_list_area);
|
||||
gInfo->mode_list = NULL;
|
||||
|
||||
intel_shared_info &info = *gInfo->shared_info;
|
||||
|
||||
uninit_lock(&info.accelerant_lock);
|
||||
uninit_lock(&info.engine_lock);
|
||||
|
||||
uninit_ring_buffer(info.primary_ring_buffer);
|
||||
|
||||
if (!gInfo->is_clone) {
|
||||
intel_shared_info &info = *gInfo->shared_info;
|
||||
uninit_lock(&info.accelerant_lock);
|
||||
uninit_lock(&info.engine_lock);
|
||||
uninit_ring_buffer(info.primary_ring_buffer);
|
||||
}
|
||||
uninit_common();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user