A couple of fixes for venus driver close() handling (both enc and dec). v2->v3: -- factored out common close() code (Bryan) Sergey Senozhatsky (3): media: venus: fix enc/dec destruction order media: venus: sync with threaded IRQ during inst destruction media: venus: factor out inst destruction routine drivers/media/platform/qcom/venus/core.c | 25 +++++++++++++++++++ drivers/media/platform/qcom/venus/core.h | 2 ++ drivers/media/platform/qcom/venus/vdec.c | 11 +------- drivers/media/platform/qcom/venus/vdec.h | 7 +++++- .../media/platform/qcom/venus/vdec_ctrls.c | 6 ----- drivers/media/platform/qcom/venus/venc.c | 12 +-------- 6 files changed, 35 insertions(+), 28 deletions(-) -- 2.47.0.163.g1226f6d8fa-goog