summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/hantro
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-11-11 14:17:51 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-30 12:07:53 +0100
commit615c6f28b9ad7efc9bfbef2cafc6a0c5bc0c21e0 (patch)
tree8fc76548e7034d4256d8bf7ce7b8632d9884e1d2 /drivers/staging/media/hantro
parent89ab2d39643e5ce2b122baa1e76176d1bd984cec (diff)
downloadlinux-615c6f28b9ad7efc9bfbef2cafc6a0c5bc0c21e0.tar.bz2
media: mtk-vcodec: Fix an error handling path in 'mtk_vcodec_probe()'
In case of error the 'media_device_init()' call is not balanced by a corresponding 'media_device_cleanup()' call. Add it, when needed, as already done in the remove function. Fixes: 118add98f80e ("media: mtk-vcodec: vdec: add media device if using stateless api") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Tzung-Bi Shih <tzungbi@google.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/hantro')
0 files changed, 0 insertions, 0 deletions