Smitha T Murthy d3f3c2fe54 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>
2022-12-07 17:58:46 +01:00
..
2022-10-22 15:30:15 -07:00
2022-03-18 05:58:35 +01:00
2022-11-25 07:55:21 +00:00
2022-03-23 14:51:35 -07:00
2022-11-25 07:55:21 +00:00
2022-11-25 07:55:21 +00:00
2022-03-12 16:59:52 +01:00