diff options
| author | 2022-09-07 16:02:26 +0530 | |
|---|---|---|
| committer | 2022-12-07 17:58:46 +0100 | |
| commit | d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b (patch) | |
| tree | c8481f44bf6d80bb31316342ee3dacdf1eaa218f /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | media: s5p-mfc: Fix in register read and write for H264 (diff) | |
| download | wireguard-linux-d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b.tar.xz wireguard-linux-d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b.zip | |
media: s5p-mfc: Clear workbit to handle error condition
During error on CLOSE_INSTANCE command, ctx_work_bits was not getting
cleared. During consequent mfc execution NULL pointer dereferencing of
this context led to kernel panic. This patch fixes this issue by making
sure to clear ctx_work_bits always.
Fixes: 818cd91ab8c6 ("[media] s5p-mfc: Extract open/close MFC instance commands")
Cc: stable@vger.kernel.org
Cc: linux-fsd@tesla.com
Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
