mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
Revert "rk29: vpu_service: fix bug when __cancel_delayed_work and delay work run at the same time"
This reverts commit c41dd26340.
This commit is contained in:
parent
d035f2c5fb
commit
29492dc9e1
|
|
@ -391,11 +391,7 @@ static void try_set_reg(void)
|
|||
((VPU_PP == reg->type) && (NULL == service.reg_pproc)) ||
|
||||
((VPU_ENC == reg->type) && (NULL == service.reg_codec))) {
|
||||
reg_from_wait_to_run(reg);
|
||||
if (in_interrupt()) {
|
||||
__cancel_delayed_work(&vpu_service_power_off_work);
|
||||
} else {
|
||||
cancel_delayed_work(&vpu_service_power_off_work);
|
||||
}
|
||||
__cancel_delayed_work(&vpu_service_power_off_work);
|
||||
vpu_service_power_on();
|
||||
reg_copy_to_hw(reg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user