Home
last modified time | relevance | path

Searched hist:"06 a2da340f762addc5935bf851d95b14d4692db2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dvdec.cdiff 06a2da340f762addc5935bf851d95b14d4692db2 Mon Jul 25 21:14:54 CDT 2022 Bryan O'Donoghue <bryan.odonoghue@linaro.org> media: venus: dec: Handle the case where find_format fails

Debugging the decoder on msm8916 I noticed the vdec probe was crashing if
the fmt pointer was NULL.

A similar fix from Colin Ian King found by Coverity was implemented for the
encoder. Implement the same fix on the decoder.

Fixes: 7472c1c69138 ("[media] media: venus: vdec: add video decoder files")
Cc: stable@vger.kernel.org # v4.13+
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>